[Fix]: product: Pricelist with base price set to 0

lp bug: https://launchpad.net/bugs/710521 fixed

bzr revid: rha@tinyerp.com-20110201132750-lvp43mmvs0kxqwif
This commit is contained in:
rha@tinyerp.com
2011-02-01 18:57:50 +05:30
parent d33b03e33d
commit f76e0fc097
+1 -1
View File
@@ -264,7 +264,7 @@ class product_pricelist(osv.osv):
product_obj.price_get(cr, uid, [product_id],
price_type.field)[product_id], round=False, context=context)
if price:
if price or price == 0.0:
price_limit = price
price = price * (1.0+(res['price_discount'] or 0.0))