[REVERT]: product: Reverted wrong commit in product
bzr revid: rpa@tinyerp.com-20101209063503-g13ct483rhq7ss47
This commit is contained in:
parent
2f32807ce6
commit
31506fdf8b
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue