[FIX]: product: Fixed problem of loading list of products in m2o of purchase line after setting qty and uom as zero and False respectively
bzr revid: rpa@tinyerp.com-20101102052914-q03vwvbfse2a97uk
This commit is contained in:
parent
ad4ddf0495
commit
88d2e8b530
|
@ -342,7 +342,7 @@ class product_product(osv.osv):
|
|||
|
||||
def _product_price(self, cr, uid, ids, name, arg, context={}):
|
||||
res = {}
|
||||
quantity = context.get('quantity', 1)
|
||||
quantity = context.get('quantity') or 1.0
|
||||
pricelist = context.get('pricelist', False)
|
||||
if pricelist:
|
||||
for id in ids:
|
||||
|
|
Loading…
Reference in New Issue