diff options
| author | Martin Trigaux <mat@odoo.com> | 2018-03-16 14:15:17 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2018-03-16 14:18:37 +0100 |
| commit | 06737c3441e5ec15a1e05e6122a84189d503f81d (patch) | |
| tree | 9d9b4ed981aba9a84f51724de47b44c79d99c3c5 /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | 854943379bfebb5f1c501167c5f4b5ef3942132c (diff) | |
[FIX] account_check_printing: compare float correctly
Example failing before this commit:
- amount = 11.01
- decimal = 11.01 % 1 = 0.009999999999999787
- 0.009999999999999787 < 0.01
Use correct float_is_zero method to test if there is decimal or not
Closes #18306
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
