summaryrefslogtreecommitdiff
path: root/setup/odoo-wsgi.example.py
diff options
context:
space:
mode:
authoroco-odoo <oco@odoo.com>2020-10-26 12:59:10 +0000
committeroco-odoo <oco@odoo.com>2020-10-28 16:35:15 +0000
commit122e4e66d3bebdad08d4d42fd09d4e5d97f8a2b0 (patch)
tree75568bc0edd690dc7fa9c6dc4ae52086381fa1b6 /setup/odoo-wsgi.example.py
parent0a83aa2d6811c3638db151991938473a892c5452 (diff)
[FIX] point_of_sale: use compute_all properly for taxes computation
- Use the tax tags returned by the compute_all for the base lines instead of recomputing them separately Splitting the computation caused inconsistent computation in some cases between the base and tax lines (one could select the refund distribution, while the other selected the invoice one). - Pass the is_refund parameter to True if either the quantity or the price is negative (but not both) Those negative lines should correspond to refund repartition (double-checked with the Belgian tax report in v12). OPW 2351412 closes odoo/odoo#60922 X-original-commit: 7827581b208b464638a91044462d0bc497025326 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com> Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Diffstat (limited to 'setup/odoo-wsgi.example.py')
0 files changed, 0 insertions, 0 deletions