[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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user