From 652c574866b619bc31cd8fd09568e9fa9492c254 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Wed, 12 Feb 2014 18:52:24 +0100 Subject: [PATCH] [FIX] product.pricelist: leftover undefined variable from pricelist refactoring at revid:fp@tinyerp.com-20131206221809-x1muf0wonl4ated0 bzr revid: odo@openerp.com-20140212175224-wd9etr8xyrg6l0oz --- addons/product/pricelist.py | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/product/pricelist.py b/addons/product/pricelist.py index 6f47d6d39d7..65c4311f34a 100644 --- a/addons/product/pricelist.py +++ b/addons/product/pricelist.py @@ -279,7 +279,6 @@ class product_pricelist(osv.osv): if price: if 'uom' in context and not uom_price_already_computed: - product = products_dict[product.id] uom = product.uos_id or product.uom_id price = product_uom_obj._compute_price(cr, uid, uom.id, price, context['uom'])