summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2018-01-25 13:31:39 +0100
committerMartin Trigaux <mat@odoo.com>2018-01-25 13:53:56 +0100
commit7ee7262ccbc23a0e4d5fd241d6c740a6c80307c8 (patch)
tree86bfdcc4afbedc8b3240e5d9aedd455cc7d0315f /addons/web/static/src/js/fields/basic_fields.js
parentd62a26a4295b1b4ae7755604cdc89c0188f4d41b (diff)
[FIX] point_of_sale: include untaxed amounts in tax lines
If some orders have no taxes (e.g. manual reimbursement with a negative amount) the sum of taxes lines gave a different result than the total amount sold. e.g.: order 1: price 10€, including 2€ for taxes order 2: price -5€, no taxes report: taxes: 20%, 2€ taxes, 8€ base amount total sold: 5€ 2+8 != 5 Also change line.price_subtotal as it was computed twice if there was two taxes on a line (although it will probably never happen in the pos) opw-805415
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions