[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:
parent
87e04ddc87
commit
a39b265b42
|
@ -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 = {}
|
||||
|
|
Loading…
Reference in New Issue