diff options
| author | qdp-odoo <qdp@odoo.com> | 2019-01-10 09:04:10 +0000 |
|---|---|---|
| committer | qdp-odoo <qdp@odoo.com> | 2019-01-10 09:05:46 +0000 |
| commit | 57856c7536bc21c4ed6f1fe4814b165490a850b4 (patch) | |
| tree | 1c2c336aa2b2baae8a597cec3cf5ca12a510fd8d /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | c4ee25fb7ff6a6213e5d443756a0e7bc81e870e3 (diff) | |
[FIX] account: reconcilation widget in multi currency
utils.round_precision() is expecting a float as precision (0.01) whereas utils.round_decimals() is expecting the number of digits to consider after the coma (2).
The previous code was totally wrong in that regard, which led to reconciliation wrongly considered as total in foreign currency, as long as the amount_currency difference was lower than the currency precision digits.
closes odoo/odoo#30091
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
