[FIX] product: comparison of currency rounding
authorMartin Trigaux <mat@odoo.com>
Tue, 25 Nov 2014 17:13:41 +0000 (18:13 +0100)
committerMartin Trigaux <mat@odoo.com>
Tue, 25 Nov 2014 17:41:00 +0000 (18:41 +0100)
commit7dca12ee08559a296b45116beecea60d50220fbc
treef69a0f00065b4aedb702dd71c2c5519fadfd25f8
parente5f7b5673505d8df3951075e486add96de045650
[FIX] product: comparison of currency rounding

Setting 0.0001 as precision used to be converted to 9.999999999999999e-05
precision_digits of 6 is the precision of the field 'rounding' on res.currency
Fixes #3875
addons/product/product.py