Review: Needs Fixing
It breaks module stock.
I created a database, and installed base_contact, then sale. The following
error occurs:
[2011-11-30 15:09:12,683][foo] INFO:init.load:module stock: loading
test/stock_test.yml
[2011-11-30 15:09:15,241][foo] ERROR:db.cursor:bad query: insert into
"stock_picking"
(id,"address_id","name","auto_picking","move_type","company_id","invoice_state","state","date","type",create_uid,create_date)
values
(2,41,'test_picking','False','direct',1,'2binvoiced','draft','2011-11-30
15:09:15','out',1,now())
Traceback (most recent call last):
File "/home/openerp/openerp/server/trunk/openerp/sql_db.py", line 215, in
execute
res = self._obj.execute(query, params)
IntegrityError: insert or update on table "stock_picking" violates foreign key
constraint "stock_picking_address_id_fkey"
DETAIL: Key (address_id)=(41) is not present in table "res_partner_job".
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-base_contact-stw/+merge/83401
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-base_contact-stw.
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp