summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-08-07 10:36:26 +0200
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2018-08-07 17:33:57 +0200
commit6470ee74b8cae9c62a47118850533e9a8e8301ac (patch)
tree3523e983db6588b0a6b7c7110c79d5589328ec11 /addons/web/static/src/xml
parent1748fa2aa0031b0cf01dee8d3dd516f86b7295f1 (diff)
[FIX] point_of_sale: return with rounding < 0.01
- Set the currency to a rounding of 0.001 - Create a POS order: Unit Price: 0.12 Quantity: 0.1 - Pay and validate - From the backend, return the products on the create order - Click on 'Payment' The proposed amount is 0.01, not 0.012. It is not possible to complete the payment process since the field is rounded at DB level to 2 digits of precision. We make consistent the `amount` field with the various amounts on the `pos.order`. By using a `digits=0` and forcing the rounding, we avoid inconsistent rounding between the order and the payment. opw-1864344
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions