[FIX]product:Now UoM rounding precision is working

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

bzr revid: mma@tinyerp.com-20110908063105-96bqho40ok3tkblt
This commit is contained in:
Mayur Maheshwari (OpenERP) 2011-09-08 12:01:05 +05:30
parent 87e04ddc87
commit a39b265b42
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class product_uom(osv.osv):
_description = 'Product Unit of Measure'
def _compute_factor_inv(self, factor):
return factor and round(1.0 / factor, 6) or 0.0
return factor and (1.0 / factor) or 0.0
def _factor_inv(self, cursor, user, ids, name, arg, context=None):
res = {}