From 185de3a01b8d593dab43f081f934d20837999c7e Mon Sep 17 00:00:00 2001 From: "ron@tinyerp.com" <> Date: Mon, 7 Mar 2011 18:20:08 +0530 Subject: [PATCH] [FIX]product:Purchase Order price calculation wrong lp bug: https://launchpad.net/bugs/728092 fixed bzr revid: ron@tinyerp.com-20110307125008-pan2v3m9w7ea2t1r --- addons/product/pricelist.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/product/pricelist.py b/addons/product/pricelist.py index de8fd701492..0e1b2bfa2dd 100644 --- a/addons/product/pricelist.py +++ b/addons/product/pricelist.py @@ -259,6 +259,7 @@ class product_pricelist(osv.osv): price = res2['price'] else: price_type = price_type_obj.browse(cr, uid, int(res['base'])) + uom_price_already_computed = True price = currency_obj.compute(cr, uid, price_type.currency_id.id, res['currency_id'], product_obj.price_get(cr, uid, [product_id],