diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2017-12-06 15:25:45 +0100 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2017-12-06 16:35:34 +0100 |
| commit | fd560917abfd647535797462e59cbb155bc98ea0 (patch) | |
| tree | cb366785a1c21c7a95bcb2d5f8504d438560c8f0 /addons/web/static/src/js | |
| parent | f6321ab94c157a00d58bd17991f864fdd3fd64d3 (diff) | |
[FIX] point_of_sale: sale details report correctly renders float
Before this commit, when printing all orders from the POS interface,
the ticket sometimes showed weird amounts (like 128.25000000001).
This was due to the usual problem of representing a float and has nothing to do with Odoo.
After this commit, the templates correctly display the amounts, rounded according to the currency
We do this by applying the relevant qweb widget (or calling the right format function in JS)
OPW 784626
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions
