Skip to content
Snippets Groups Projects
Commit 2aafff6a authored by Nshimiyimana Séna's avatar Nshimiyimana Séna
Browse files

[FIX] account: include 'quantity' in '_compute_all_tax' dependencies


Summary
-------
This commit addresses an issue where fixed taxes were not calculated
correctly when applied to a line with a price of 0.

Steps to reproduce
------------------
1. Create a fixed tax with an amount of 5.
2. Create an invoice with a line having zero price and apply the fixed
   tax.
3. Save the invoice. You should have a total of 5.
4. Change the quantity of the invoice line, to something like 2.
5. Save the invoice.

We expect the total to be 10, but we get 5.

opw-3212536

closes odoo/odoo#134153

Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
parent 35ca0d94
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment