[FIX] purchase: fixup of 2a37a94, missing rename

This commit is contained in:
Martin Trigaux
2015-02-26 10:16:52 +05:30
parent bc9701a3fd
commit c70b17fcbc
+1 -1
View File
@@ -1430,7 +1430,7 @@ class procurement_order(osv.osv):
po_lines = po_line_obj.browse(cr, uid, po_line_ids, context=context)
po_prod_dict = {}
for pol in po_lines:
po_prod_dict[po.product_id.id] = pol
po_prod_dict[pol.product_id.id] = pol
procs_to_create = []
#Check which procurements need a new line and which need to be added to an existing one
for proc in procurements: