[REVERT]: product: Reverted wrong commit in product

bzr revid: rpa@tinyerp.com-20101209063503-g13ct483rhq7ss47
This commit is contained in:
rpa (Open ERP) 2010-12-09 12:05:03 +05:30
parent 2f32807ce6
commit 31506fdf8b
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ class product_uom(osv.osv):
return price
amount = price * from_unit.factor
if to_uom_id:
amount = amount / to_unit.factor_inv
amount = amount / to_unit.factor
return amount
def onchange_type(self, cursor, user, ids, value):