-
-
Notifications
You must be signed in to change notification settings - Fork 731
Open
Labels
Description
Module
account_invoice_fiscal_position_update
Describe the bug
when fiscal position is mapping VAT Inc -> VAT Exc (or no vat), the computations of the prices are wrong.
As a result, select product then set fiscal position generates a differente invoice as select fiscal position then, select product.
To Reproduce
Affected versions:
- 16.0
- 17.0 (on runboat, with the current migration PR, here [17.0][MIG] account_invoice_fiscal_position_update: Migration to 17.0 #1630)
Steps to reproduce the behavior:
- Configure a fiscal position with VAT excl -> VAT excl mapping and Vat INCL -> Vat Excl mapping.
(this is the case, by default with INTRA-EU B2B fiscal position installed by odoo l10n_fr localization).
- Create 2 product, one with vat Incl and the other with vat Excl
- Create an Invoice, add the two products. (The untaxed amount is 834.33)
- Set the fiscal position. The Untaxed amount of the invoice changed. (Now 1001.00)
Expected behavior
If we set first the fiscal position and then select product the result is the following, and is the good one. (834.33)