diff options
| author | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-11-04 16:20:02 +0000 |
|---|---|---|
| committer | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-11-09 15:39:01 +0000 |
| commit | 35445660c28c121c3bef57e417f7e173b87584a2 (patch) | |
| tree | 43a87ebf2e60ea96f6f7710721fde22f0a00a4bf /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 34e5e8717f8fe428958ce7e7960713f44c34060f (diff) | |
[FIX] account: fix total recomputation when having 100% tax
Create a tax as follows:
* Tax Computation: Percentage of Price Tax Included
* Tax Scope: Purchase
* Amount: 100%
* Included in Price
* Affect Base of Subsequent Taxes
Create a vendor bill with the tax on the line
Change unit price
The total does not change
This occur because when having 100% tax debit/credit are unchanged.
So the onchange `_onchange_mark_recompute_taxes` is not triggered and
the tax lines are not updated, thus not changing the
total (as in this case the invoice total is just the tax value)
opw-2370861
closes odoo/odoo#61552
X-original-commit: 9e203cc016b45875f699ffab24fe3f8382a97303
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
