summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorNasreddin (bon) <bon@odoo.com>2020-11-24 12:52:43 +0000
committerNasreddin (bon) <bon@odoo.com>2020-12-02 13:11:19 +0000
commit684855529e8aaafa0cb90f958d19c563d6e2a897 (patch)
tree7929708164391908a47fa636b9f298b687793d08 /addons/web/static/src/js/fields/basic_fields.js
parent8af59b95b477b2eeddec118663e21b00a4e48801 (diff)
[FIX] account: Negative fixed taxes on 100% discount
Issue - Install 'Accounting' module - Create a new 'Tax' X with a fixed price (e.g.: O.O57 $) - Create a new 'Customer Invoice' - Add a product P and set unit price to 0 $ - Set tax X to product P Total tax amount : - 0.06 $ . Solution The sign must be forced to a negative sign in case the balance is on credit to avoid negatif taxes amount. enterprise PR : https://github.com/odoo/enterprise/pull/15035 opw-2378978 closes odoo/odoo#62725 X-original-commit: 13bfb5be817b3f3794503ec9f530d6205b4822e1 Related: odoo/enterprise#15094 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com> Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions