Hello Virginie Laborie, Thanks for reporting. The solution for this bug is proposed in the branch with following Revision ID and Number.
Revision ID : [email protected] Revision Number : 5490 Thanks and Regards, Divyesh Makwana(MDI) ** Changed in: openobject-addons Status: In Progress => Fix Committed -- You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Addons. https://bugs.launchpad.net/bugs/881337 Title: duplicate key value violates unique constraint "picking_invoice_rel_picking_id_key Status in OpenERP Addons (modules): Fix Committed Bug description: After install the module sale_margin, can not create a single invoice for several delivery orders. Get the following message « duplicate key value violates unique constraint "picking_invoice_rel_picking_id_key" » Steps to reproduce : Install module sale_margin Create 2 orders for the same customer. Go to Warehouse > Warehouse management > Delivery orders. Validate the 2 deliveries. After go to Sales > Invoicing > Deliveries to invoice. Check the 2 deliveries (for the same customer) and click on action Create invoice. Select the destination journal and check the option Group by partner. Click on the create button : integrety error appears. We work with database version 6.0.2 (server 3441 and addons 4726) To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/881337/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

