diff options
| author | Goffin Simon <simon.goffin@outlook.com> | 2014-11-13 15:33:26 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2014-11-28 15:00:59 +0100 |
| commit | ae294f6222e45cfa1442c14cdc4dee06dc8297b2 (patch) | |
| tree | 1075540cbf18db39b6aa906fe7b6b130ed4e66e8 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | 3078cfbbd1f601788c3adbc0761204b9b164578e (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
