related_backorder_ids causes problem with return picking

Bug #1303655 reported by Romain Deheele - Camptocamp on 2014-04-07
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenERP Connector - E-Commerce

Bug Description


If a picking has a backorder, and we do a return picking (Return Products button on "done" picking)
This next error occurs :
IntegrityError: duplicate key value violates unique constraint "stock_picking_name_uniq"
DETAIL: Key (name, company_id)=(OUT/01014, 1) already exists.
except_osv: ('Constraint Error', 'Reference must be unique per Company!')

To create the incoming picking, the wizard uses a copy method.
This copy includes related_backorder_ids, the previous error occurs when OE tries to create the first related backorder.



Related branches

Changed in openerp-connector-ecommerce:
status: New → Fix Committed
Changed in openerp-connector-ecommerce:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers