[FIX]product:Purchase Order price calculation wrong
lp bug: https://launchpad.net/bugs/728092 fixed bzr revid: ron@tinyerp.com-20110307125008-pan2v3m9w7ea2t1r
This commit is contained in:
parent
4c3c85a945
commit
185de3a01b
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue