diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-11-18 13:07:16 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-11-19 13:48:48 +0000 |
| commit | a23864f15aba79e9ec5405dd084fc10e15230a2b (patch) | |
| tree | 544787c7ba341cccd12b10b90bbc051eab6a2779 /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | b7deda4185e3c240c3c30c9a570dc7173f9d8aa3 (diff) | |
[FIX] point_of_sale: rounding in report
- Create a product with price 2335.5, no tax
- Start a POS session
- Add the product, set a discount of 3% on the line => total is 2665.44
- Validate and close the session
- Got to Point of Sale / Reporting / Orders, open the pivot view
The Total Price of the order is 2665.43.
It happens because the server returns a value of 2665.435, which is
displayed in the pivot view as 2665.43.
We round the Total Price based on the company currency decimal
precision. Indeed, all amounts are converted in this currency in the
report.
opw-2369023
closes odoo/odoo#62021
X-original-commit: 178d5c879ccf7ed59e602f049377417ace353fa9
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
