-
-
Notifications
You must be signed in to change notification settings - Fork 701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0] account_invoice_fiscal_position_update wrong computation if B2C / B2B mapping. #1896
Comments
I can't find those taxes on products in |
Hi @juancarlosonate-tecnativa. First thanks a lot for your answer ! Indeed, I had renamed the VAT to explain the bug, to be more explicit.
On a fresh instance, If I install
don't hesitate to let me know if anything remains unclear! |
I can confirm the issue, this does happen. The problem seems to be with the |
Hi. In V12, I had a similar problem with the following mappings : Excl -> Incl and Incl -> Incl. ("X -> Incl") Now, here it is the Incl >> Excl that is failing. it is a more common case. (all B2C shops, that makes sometimes intracom sales are impacted). Maybe the module https://github.com/odoo/odoo/blob/16.0/addons/account/models/account_tax.py#L1317 Thanks for your investigation ! |
Fixes OCA#1896 The standard behaviour of Odoo in case of tax excl. to tax incl. is to adjust the subotal amount. This might not be what users expect. The same behaviour is present in the function that this module provides.
Fixes OCA#1896 The standard behaviour of Odoo in case of tax excl. to tax incl. is to adjust the subotal amount. This might not be what users expect. The same behaviour is present in the function that this module provides.
Fixes OCA#1896 The standard behaviour of Odoo in case of tax excl. to tax incl. is to adjust the subotal amount. This might not be what users expect. The same behaviour is present in the function that this module provides.
Fixes OCA#1896 This change causes the subtotal amount to remain the same when a fiscal position change triggers a tax update from tax included in price to tax excluded from price. Tests are added for conversion between tax excluded to tax included as well, but in this case the behaviour is not 'fixed'. The standard behaviour of Odoo in case of tax excl. to tax incl. is to adjust the subtotal amount. The same behaviour is present in the function that this module provides. It might not be what users expect, but it seems that Odoo does not support to preserve the subtotal amount in this case.
Fixes OCA#1896 This change causes the subtotal amount to remain the same when a fiscal position change triggers a tax update from tax included in price to tax excluded from price. Tests are added for conversion between tax excluded to tax included as well, but in this case the behaviour is not 'fixed'. The standard behaviour of Odoo in case of tax excl. to tax incl. is to adjust the subtotal amount. The same behaviour is present in the function that this module provides. It might not be what users expect, but it seems that Odoo does not support to preserve the subtotal amount in this case.
Fixes OCA#1896 This change causes the subtotal amount to remain the same when a fiscal position change triggers a tax update from tax included in price to tax excluded from price. Tests are added for conversion between tax excluded to tax included as well, but in this case the behaviour is not 'fixed'. The standard behaviour of Odoo in case of tax excl. to tax incl. is to adjust the subtotal amount. The same behaviour is present in the function that this module provides. It might not be what users expect, but it seems that Odoo does not support to preserve the subtotal amount in this case.
Fixes OCA#1896 This change causes the subtotal amount to remain the same when a fiscal position change triggers a tax update from tax included in price to tax excluded from price. Tests are added for conversion between tax excluded to tax included as well, but in this case the behaviour is not 'fixed'. The standard behaviour of Odoo in case of tax excl. to tax incl. is to adjust the subtotal amount. The same behaviour is present in the function that this module provides. It might not be what users expect, but it seems that Odoo does not support to preserve the subtotal amount in this case.
Fixes OCA#1896 This change causes the subtotal amount to remain the same when a fiscal position change triggers a tax update from tax included in price to tax excluded from price. Tests are added for conversion between tax excluded to tax included as well, but in this case the behaviour is not 'fixed'. The standard behaviour of Odoo in case of tax excl. to tax incl. is to adjust the subtotal amount. The same behaviour is present in the function that this module provides. It might not be what users expect, but it seems that Odoo does not support to preserve the subtotal amount in this case.
Fixes OCA#1896 This change causes the subtotal amount to remain the same when a fiscal position change triggers a tax update from tax included in price to tax excluded from price. Tests are added for conversion between tax excluded to tax included as well, but in this case the behaviour is not 'fixed'. The standard behaviour of Odoo in case of tax excl. to tax incl. is to adjust the subtotal amount. The same behaviour is present in the function that this module provides. It might not be what users expect, but it seems that Odoo does not support to preserve the subtotal amount in this case.
Fixes OCA#1896 This change causes the subtotal amount to remain the same when a fiscal position change triggers a tax update from tax included in price to tax excluded from price. Tests are added for conversion between tax excluded to tax included as well, but in this case the behaviour is not 'fixed'. The standard behaviour of Odoo in case of tax excl. to tax incl. is to adjust the subtotal amount. The same behaviour is present in the function that this module provides. It might not be what users expect, but it seems that Odoo does not support to preserve the subtotal amount in this case.
Fixes OCA#1896 This change causes the subtotal amount to remain the same when a fiscal position change triggers a tax update from tax included in price to tax excluded from price. Tests are added for conversion between tax excluded to tax included as well, but in this case the behaviour is not 'fixed'. The standard behaviour of Odoo in case of tax excl. to tax incl. is to adjust the subtotal amount. The same behaviour is present in the function that this module provides. It might not be what users expect, but it seems that Odoo does not support to preserve the subtotal amount in this case.
Fixes OCA#1896 This change causes the subtotal amount to remain the same when a fiscal position change triggers a tax update from tax included in price to tax excluded from price. Tests are added for conversion between tax excluded to tax included as well, but in this case the behaviour is not 'fixed'. The standard behaviour of Odoo in case of tax excl. to tax incl. is to adjust the subtotal amount. The same behaviour is present in the function that this module provides. It might not be what users expect, but it seems that Odoo does not support to preserve the subtotal amount in this case.
Fixes OCA#1896 This change causes the subtotal amount to remain the same when a fiscal position change triggers a tax update from tax included in price to tax excluded from price. Tests are added for conversion between tax excluded to tax included as well, but in this case the behaviour is not 'fixed'. The standard behaviour of Odoo in case of tax excl. to tax incl. is to adjust the subtotal amount. The same behaviour is present in the function that this module provides. It might not be what users expect, but it seems that Odoo does not support to preserve the subtotal amount in this case.
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:
Steps to reproduce the behavior:
(this is the case, by default with INTRA-EU B2B fiscal position installed by odoo l10n_fr localization).
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)
The text was updated successfully, but these errors were encountered: