summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorqdp-odoo <qdp@odoo.com>2019-01-10 09:04:10 +0000
committerqdp-odoo <qdp@odoo.com>2019-01-10 09:05:46 +0000
commit57856c7536bc21c4ed6f1fe4814b165490a850b4 (patch)
tree1c2c336aa2b2baae8a597cec3cf5ca12a510fd8d /addons/web/static/src/js/views/basic/basic_controller.js
parentc4ee25fb7ff6a6213e5d443756a0e7bc81e870e3 (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