summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorMitali Patel <mpa@odoo.com>2019-06-19 10:21:23 +0000
committerRavi Gohil <rgo@odoo.com>2019-08-06 05:28:35 +0000
commit857c4851754dcddf9e6dc7b39585914beaf89c88 (patch)
treeeb1865b406caf7b60a15c1ddfda81bd0b1f8c6a0 /addons/web/static/src/js/views/basic
parent0be039989cb7bea936d86bea32c3f39b24a5328c (diff)
[IMP] base/web: store more precision digits for rate field
Currently, only 6 digits after decimal point is stored in database and for some currencies it may require to have more digits after decimal precision to correctly convert rates, like MXN -> USD currency. So, we allow maximum digits to be stored in database. On the view side, wherever rate is editable(form or tree view), we show 12 digits after decimal point and on list view, we truncate limit it to 6 digits. Also, a bug is fixed for web where 'digits' attribute for float field on list view isn't considered. Also, we have to remove a test case statement which only checks for 6 digits for a float number. task: 2024668 closes: #34279 Signed-off-by: Josse Colpaert <jco@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions