summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2016-08-01 13:15:30 +0200
committerNicolas Martinelli <nim@odoo.com>2016-08-01 13:15:30 +0200
commit35cd054cc835dc2d6beac72bd182b3d455b79525 (patch)
tree2222c70b54e9474e0f0408063ccb5f664823a600 /addons/web/static/lib/jquery.mjs.nestedSortable
parentdcd03d778ef849ee0ec76f8189edc2ce66f572d5 (diff)
[FIX] point_of_sale: total revenue in report
In some cases, the "Sales total(Revenue)" of the report is different from the sum of the payments. To reproduce: - create a product with a sale price of 1.00 - sell 3 times a quantity of 0.333 of this product - the "Sales total(Revenue)" will be equal to 1.00, while the total of payments is 0.99. This is because in the report, we first sum all order lines, then we perform a global rounding. The solution is to use the total amount calculated for each order, which is rounded at the appropriate time. opw-682782
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable')
0 files changed, 0 insertions, 0 deletions