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".
« Back to merge proposal
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 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() ) openerp/ openerp/ server/ trunk/openerp/ sql_db. py", line 215, in execute execute( query, params) picking_ address_ id_fkey"
[2011-11-30 15:09:15,241][foo] ERROR:db.cursor:bad query: insert into "stock_picking" (id,"address_
Traceback (most recent call last):
File "/home/
res = self._obj.
IntegrityError: insert or update on table "stock_picking" violates foreign key constraint "stock_
DETAIL: Key (address_id)=(41) is not present in table "res_partner_job".