diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2015-06-26 17:48:33 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2015-06-30 12:46:30 +0200 |
| commit | 95f49eadc18d3c4964086968ec92092c2af75892 (patch) | |
| tree | 45b7110ba5e789c9d088c39e9e537bf9b12118b3 /addons/web/static/lib/bootstrap/css/bootstrap-theme.css.map | |
| parent | f498583a988f055f49ce14d2669b32b1073d6800 (diff) | |
[FIX] account: consistency on the allowed precision
This fixes 2 issues.
First, it keeps consistent the precision required for posted entries and the
precision for the balance assertion. This could be an issue if the account
precision is larger than 4.
Then, it makes sure to round the amount with the appropriate precision to avoid
numerical errors. For example 1.2344 - 1.2345 = -9.999999999998899e-05, which
is indeed smaller than the required precision 10 ** -4.
A minimum precision of 10 ** -5 is kept for historical reason.
Fixes #7276
opw-643305
Diffstat (limited to 'addons/web/static/lib/bootstrap/css/bootstrap-theme.css.map')
0 files changed, 0 insertions, 0 deletions
