From c70b17fcbcb58728a123f760cd5b91238896c105 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Thu, 26 Feb 2015 10:16:52 +0530 Subject: [PATCH] [FIX] purchase: fixup of 2a37a94, missing rename --- addons/purchase/purchase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py index 4919d3569ad..6122c46edb9 100644 --- a/addons/purchase/purchase.py +++ b/addons/purchase/purchase.py @@ -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: