summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorGoffin Simon <simon.goffin@outlook.com>2014-11-13 15:33:26 +0100
committerMartin Trigaux <mat@odoo.com>2014-11-28 15:00:59 +0100
commitae294f6222e45cfa1442c14cdc4dee06dc8297b2 (patch)
tree1075540cbf18db39b6aa906fe7b6b130ed4e66e8 /addons/analytic_user_function/analytic_user_function_view.xml
parent3078cfbbd1f601788c3adbc0761204b9b164578e (diff)
[FIX] base: QWeb monetary field rounding
QWeb monetary widget uses the precision of the currency to know the number of digits to display on a price. The number of digits is based on log10(rounding). For currency with rounding different than 10^x (e.g. in Switzerland 0.05 to allow 5 cents coins only), the number of displayed digits should be rounded up. e.g. log10(0.05) is -1.3, rounded up to 2 digits. Fixes #3233
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions