diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-03-08 13:16:57 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-03-08 15:24:05 +0100 |
| commit | 303f547690f90a06ed5884406a428006d377e3de (patch) | |
| tree | 240e55430a87de2eb2d19a23bfcf6b4254db2486 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 1274758033c41b0c13afdc28f6ff357ee9b9afdd (diff) | |
[FIX] point_of_sale: round unit_price
- Set the product price decimals to 5
- Create a product costing 0.32
- Create a pricelist with 20 % discount when quantity is > 100
- Set a default fiscal position on the POS
- Lauch a POS session
- Add 500 units of the product
The unit price is rounded to 0.26, while it should be 0.256.
This is due to the call to `compute_all`, which will round to the
currency precision.
opw-1816997
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
