summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2019-02-19 12:43:07 +0000
committerNicolas Martinelli <nim@odoo.com>2019-02-19 12:43:07 +0000
commitbddd53881c6ea8d7870717e77961aff1f8920167 (patch)
tree5213c6d25aaa8b87420863fedfce171451821665 /addons/web/static/src/js/views/basic/basic_controller.js
parent29a3634c1a4b09e57ab2a8137f68cf5a4bc478a0 (diff)
[FIX] hr_holidays: numerical error
In some exceptional circumstances, the computation of the remaining leaves might lead to numerical errors, e.g. a very small but non-zero number (e.g. 10^-17) This value will be displayed in the name of the leave type because of the `%g` used in the string format. To avoid breaking the translation, we round the value. opw-1935232 closes odoo/odoo#31245
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions