- Mailing Lists
- Contributors
- Critical Fiscal Position Assignation Issue (only Germany) - 16.0 17.0 18.0
Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
Modules for oil & gas / remote catering
Seeking Advice on Migrating Custom Pricing Logic to Built-in Features in Odoo 17
Critical Fiscal Position Assignation Issue (only Germany) - 16.0 17.0 18.0
Issue Type: Critical Bug
Module: Accounting / German Localization
Odoo Versions: [16.0, 17.0]
Also affected is [18.0]
Impacted Environment:
* Both* Not affected is 17.04., 18.0
Summary:
The fiscal position is being incorrectly assigned to partners in the German localization (German B2B partners with Vat-ID assigned). This leads to incorrect tax calculations and potential legal compliance issues for users relying on automated fiscal position determination.
Steps to Reproduce:
1. Configure the German localization module.
2. Create a new partner with an address located in Germany.
3. Assign a VAT ID to the partner.
4. Create a sales order or invoice for the partner.
5. Observe the fiscal position that gets assigned automatically (wrong).
Expected Behavior:
* The fiscal position should be assigned based on the VAT ID, address, and configured fiscal rules.
* The correct tax rates and exemptions should be applied in accordance with German tax regulations.
Observed Behavior:
* The fiscal position is either not assigned correctly or does not reflect the expected tax rules.
* Especially B2B partners receive an incorrect fiscal position, leading to incorrect tax calculations.
* This can result in non-compliance with German tax regulations and incorrect tax reporting.
Impact:
* Financial discrepancies due to incorrect tax application.
* Compliance risks with German tax authorities.
* Increased manual corrections required by users.
Suggested Fix:
* Review and correct the fiscal position assignment logic in the German localization module.
* Ensure that VAT IDs and partner addresses are properly considered when determining fiscal positions.
* Implement additional validation checks to avoid incorrect fiscal position assignments.
* I have proposed a quick fix solution in my video.
Video:
https://drive.google.com/file/d/1NY32FeGzALr8e-IpN9ojKlQGwe38ksAy/view
Priority:
Critical
Additional Notes:
* This issue was observed in trainings for our customers.
* All customers running on v16, v17, v18 in Odoo are effected (except they assign fixed fiscal positions to partners, which happens in some rare cases).
* Affected users have reported increased manual workload due to incorrect assignments.
* Maybe they have created wrong account moves. Due to audit_trail we cannot fix that easily.
* We have to investigate this now on all customer databases (german companies).
* We strongly recommend you to warn other german customers working on a v16, v17, v18 version.
openBIG.org
Dipl. Kaufmann (FH)
Porscheweg 4-6
49661 Cloppenburg
Phone: +49 4471 8409000
Fax: +49 4471 84090009
Mail: thorsten.vocks@openbig.org
by Thorsten Vocks - 01:45 - 21 Feb 2025
Follow-Ups
-
Re: Critical Fiscal Position Assignation Issue (only Germany) - 16.0 17.0 18.0
Hello,Am Mo., 24. Feb. 2025 um 17:22 Uhr schrieb Christian Zöllner <notifications@odoo-community.org>:Hi Thorsten,I don't think anything has changed in the search logic for the fiscal positions in regard of the found problem. But the fiscal position “Business partner EU (with VAT ID)” was only changed to “auto apply” about 1 year ago. This should not have affected running systems, as an update of the accounting app has no effect on the fiscal positions, as these are set to “no update”.I have investigated the change and i am OK with that change, however it should not affect the logic who a fiscal position is assigned to a german partner.As the sequence of the rule is higher as the “Business partner EU (with VAT ID)” rule Odoo should assign in any case (VAT ID / No VatID in combination with country germany) to "Domestic partner" / "Geschäftspartner Inland".That's who it was done in the past.I would prefer to create another fiscal position “Domestic business partner (with VAT ID)” rather than changing the country group “European Union”, because the latter may be used in other processes in Odoo and Germany should therefore remain included.If you check the video you have seen that i duplicated the country group, however i would be fine with a duplication of “Business partner EU (with VAT ID)” leading to:“Business partner EU (with VAT ID)”“Business partner EU (without VAT ID)”both before“Business partner EU (with VAT ID)”Thank you for sharing all those informations in this mailing list.Yesterday i have received answer from Odoo support.They will investigate it, so no final answer yet.Best regardsThorstenBest RegardsChristianIntero Technologies GmbHVon: "Thorsten Vocks" <notifications@odoo-community.org>
An: "Odoo Community Association, (OCA) Contributors" <contributors@odoo-community.org>
Gesendet: Freitag, 21. Februar 2025 17:38:15
Betreff: Re: Critical Fiscal Position Assignation Issue (only Germany) - 16.0 17.0 18.0Hallo Frederik,
This revert
https://github.com/odoo/odoo/commit/af3a24c010d3e7158c1324f36a1529c510d886a6
and this original commit
https://github.com/odoo/odoo/commit/bcaf8cb859dc2f7e975d180ba0fc49da20204557
introduced and reverted the problematic code if i am not mistaken. I didn't review the code duely, but afais that the problematic code should only be in databases / data that have been created between
24th of September 2024 and 25th of October 2024
That means customers with versions of Odoo 16, 17 and 18 that either updated their code in that time frame or installed new databases should be affected. Others hopefully not!
Unfortunately not.I could recapture that today on Odoo runbot v18.Last week on v16, v17 (current runbot versions).And all my other testing was also databases on odoo runbot.I guess the revert didn't fix the introduced problem.Honestly i am not 100% sure which exact commit introducedthe issue.Best regardsThorsten
Best and thanks for circulating this
Frederik
Am 21.02.25 um 13:47 schrieb Thorsten Vocks:
Hello,
approx. 7 days ago we have detected a critical issue regarding the fiscal position assignation for setups with installed german localisation (l10n_de). Obviously all databases created / last updated approx. 20th October are affected.
At first we thought version 18.0 is not affected but that was wrong.
Here is the video with a manual fix of the fiscal positions:
At Odoo SA we have a open bug report but no response so far:
Issue Type: Critical Bug
Module: Accounting / German Localization
Odoo Versions: [16.0, 17.0]
Also affected is [18.0]
Impacted Environment:
* Both
* Not affected is 17.04., 18.0Summary:
The fiscal position is being incorrectly assigned to partners in the German localization (German B2B partners with Vat-ID assigned). This leads to incorrect tax calculations and potential legal compliance issues for users relying on automated fiscal position determination.
Steps to Reproduce:1. Configure the German localization module.
2. Create a new partner with an address located in Germany.
3. Assign a VAT ID to the partner.
4. Create a sales order or invoice for the partner.
5. Observe the fiscal position that gets assigned automatically (wrong).
Expected Behavior:
* The fiscal position should be assigned based on the VAT ID, address, and configured fiscal rules.
* The correct tax rates and exemptions should be applied in accordance with German tax regulations.
Observed Behavior:* The fiscal position is either not assigned correctly or does not reflect the expected tax rules.
* Especially B2B partners receive an incorrect fiscal position, leading to incorrect tax calculations.
* This can result in non-compliance with German tax regulations and incorrect tax reporting.
Impact:* Financial discrepancies due to incorrect tax application.
* Compliance risks with German tax authorities.
* Increased manual corrections required by users.
Suggested Fix:
* Review and correct the fiscal position assignment logic in the German localization module.
* Ensure that VAT IDs and partner addresses are properly considered when determining fiscal positions.
* Implement additional validation checks to avoid incorrect fiscal position assignments.
* I have proposed a quick fix solution in my video.Video:
https://drive.google.com/file/d/1NY32FeGzALr8e-IpN9ojKlQGwe38ksAy/view
Priority:
Critical
Additional Notes:
* This issue was observed in trainings for our customers.
* All customers running on v16, v17, v18 in Odoo are effected (except they assign fixed fiscal positions to partners, which happens in some rare cases).
* Affected users have reported increased manual workload due to incorrect assignments.
* Maybe they have created wrong account moves. Due to audit_trail we cannot fix that easily.
* We have to investigate this now on all customer databases (german companies).
* We strongly recommend you to warn other german customers working on a v16, v17, v18 version.
Thorsten Vocks
openBIG.org
Dipl. Kaufmann (FH)
Porscheweg 4-6
49661 Cloppenburg
Phone: +49 4471 8409000
Fax: +49 4471 84090009
Mail: thorsten.vocks@openbig.org
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
-- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH Innungsstraße 7 21244 Buchholz i.d.N. Tel: +49 (0) 4181 13503 12 Fax: +49 (0) 4181 13503 10 Mobil: +49 (0) 179 3901819 Email: frederik.kramer@initos.com Internet: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Buchholz i.d.N. Amtsgericht Tostedt, HRB 205226 USt-IdNr.: DE815580155 Steuer-Nr: 15/200/53247
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Thorsten Vocks - 01:07 - 25 Feb 2025 -
Re: Critical Fiscal Position Assignation Issue (only Germany) - 16.0 17.0 18.0
Hi Thorsten,I don't think anything has changed in the search logic for the fiscal positions in regard of the found problem. But the fiscal position “Business partner EU (with VAT ID)” was only changed to “auto apply” about 1 year ago. This should not have affected running systems, as an update of the accounting app has no effect on the fiscal positions, as these are set to “no update”.I would prefer to create another fiscal position “Domestic business partner (with VAT ID)” rather than changing the country group “European Union”, because the latter may be used in other processes in Odoo and Germany should therefore remain included.Thank you for sharing all those informations in this mailing list.Best RegardsChristianIntero Technologies GmbHVon: "Thorsten Vocks" <notifications@odoo-community.org>
An: "Odoo Community Association, (OCA) Contributors" <contributors@odoo-community.org>
Gesendet: Freitag, 21. Februar 2025 17:38:15
Betreff: Re: Critical Fiscal Position Assignation Issue (only Germany) - 16.0 17.0 18.0Hallo Frederik,
This revert
https://github.com/odoo/odoo/commit/af3a24c010d3e7158c1324f36a1529c510d886a6
and this original commit
https://github.com/odoo/odoo/commit/bcaf8cb859dc2f7e975d180ba0fc49da20204557
introduced and reverted the problematic code if i am not mistaken. I didn't review the code duely, but afais that the problematic code should only be in databases / data that have been created between
24th of September 2024 and 25th of October 2024
That means customers with versions of Odoo 16, 17 and 18 that either updated their code in that time frame or installed new databases should be affected. Others hopefully not!
Unfortunately not.I could recapture that today on Odoo runbot v18.Last week on v16, v17 (current runbot versions).And all my other testing was also databases on odoo runbot.I guess the revert didn't fix the introduced problem.Honestly i am not 100% sure which exact commit introducedthe issue.Best regardsThorsten
Best and thanks for circulating this
Frederik
Am 21.02.25 um 13:47 schrieb Thorsten Vocks:
Hello,
approx. 7 days ago we have detected a critical issue regarding the fiscal position assignation for setups with installed german localisation (l10n_de). Obviously all databases created / last updated approx. 20th October are affected.
At first we thought version 18.0 is not affected but that was wrong.
Here is the video with a manual fix of the fiscal positions:
At Odoo SA we have a open bug report but no response so far:
Issue Type: Critical Bug
Module: Accounting / German Localization
Odoo Versions: [16.0, 17.0]
Also affected is [18.0]
Impacted Environment:
* Both
* Not affected is 17.04., 18.0Summary:
The fiscal position is being incorrectly assigned to partners in the German localization (German B2B partners with Vat-ID assigned). This leads to incorrect tax calculations and potential legal compliance issues for users relying on automated fiscal position determination.
Steps to Reproduce:1. Configure the German localization module.
2. Create a new partner with an address located in Germany.
3. Assign a VAT ID to the partner.
4. Create a sales order or invoice for the partner.
5. Observe the fiscal position that gets assigned automatically (wrong).
Expected Behavior:
* The fiscal position should be assigned based on the VAT ID, address, and configured fiscal rules.
* The correct tax rates and exemptions should be applied in accordance with German tax regulations.
Observed Behavior:* The fiscal position is either not assigned correctly or does not reflect the expected tax rules.
* Especially B2B partners receive an incorrect fiscal position, leading to incorrect tax calculations.
* This can result in non-compliance with German tax regulations and incorrect tax reporting.
Impact:* Financial discrepancies due to incorrect tax application.
* Compliance risks with German tax authorities.
* Increased manual corrections required by users.
Suggested Fix:
* Review and correct the fiscal position assignment logic in the German localization module.
* Ensure that VAT IDs and partner addresses are properly considered when determining fiscal positions.
* Implement additional validation checks to avoid incorrect fiscal position assignments.
* I have proposed a quick fix solution in my video.Video:
https://drive.google.com/file/d/1NY32FeGzALr8e-IpN9ojKlQGwe38ksAy/view
Priority:
Critical
Additional Notes:
* This issue was observed in trainings for our customers.
* All customers running on v16, v17, v18 in Odoo are effected (except they assign fixed fiscal positions to partners, which happens in some rare cases).
* Affected users have reported increased manual workload due to incorrect assignments.
* Maybe they have created wrong account moves. Due to audit_trail we cannot fix that easily.
* We have to investigate this now on all customer databases (german companies).
* We strongly recommend you to warn other german customers working on a v16, v17, v18 version.
Thorsten Vocks
openBIG.org
Dipl. Kaufmann (FH)
Porscheweg 4-6
49661 Cloppenburg
Phone: +49 4471 8409000
Fax: +49 4471 84090009
Mail: thorsten.vocks@openbig.org
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
-- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH Innungsstraße 7 21244 Buchholz i.d.N. Tel: +49 (0) 4181 13503 12 Fax: +49 (0) 4181 13503 10 Mobil: +49 (0) 179 3901819 Email: frederik.kramer@initos.com Internet: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Buchholz i.d.N. Amtsgericht Tostedt, HRB 205226 USt-IdNr.: DE815580155 Steuer-Nr: 15/200/53247
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Christian Zöllner - 05:21 - 24 Feb 2025 -
Re: Critical Fiscal Position Assignation Issue (only Germany) - 16.0 17.0 18.0
Hi, thx for putting that much work into analysis and sharing your findings. Do we have a proper link to the upstream issue? cheers, Peter On 21.02.25 13:47, Thorsten Vocks wrote: > Hello, > > approx. 7 days ago we have detected a critical issue regarding the > fiscal position assignation for setups with installed german > localisation (*l10n_de*). Obviously all databases created / last updated > approx. 20th October are affected. > > *At first we thought version 18.0 is not affected but that was wrong.* > > Here is the video with a manual fix of the fiscal positions: > > https://drive.google.com/file/d/1NY32FeGzALr8e-IpN9ojKlQGwe38ksAy/view > <https://drive.google.com/file/d/1NY32FeGzALr8e-IpN9ojKlQGwe38ksAy/view> > > *At Odoo SA we have a open bug report but no response so far:* > > Issue Type: Critical Bug > > Module: Accounting / German Localization > > Odoo Versions: [16.0, 17.0] > > *Also affected is [18.0]* > > Impacted Environment: > > * Both > ** Not affected is 17.04., 18.0* > > > *Summary:* > > The fiscal position is being incorrectly assigned to partners in the > German localization (German B2B partners with Vat-ID assigned). This > leads to incorrect tax calculations and potential legal compliance > issues for users relying on automated fiscal position determination. > > > *Steps to Reproduce:* > > 1. Configure the German localization module. > 2. Create a new partner with an address located in Germany. > 3. Assign a VAT ID to the partner. > 4. Create a sales order or invoice for the partner. > 5. Observe the fiscal position that gets assigned automatically (wrong). > > *Expected Behavior:* > > * The fiscal position should be assigned based on the VAT ID, address, > and configured fiscal rules. > * The correct tax rates and exemptions should be applied in accordance > with German tax regulations. > > > *Observed Behavior:* > > * The fiscal position is either not assigned correctly or does not > reflect the expected tax rules. > * Especially B2B partners receive an incorrect fiscal position, leading > to incorrect tax calculations. > * This can result in non-compliance with German tax regulations and > incorrect tax reporting. > > > *Impact:* > > * Financial discrepancies due to incorrect tax application. > * Compliance risks with German tax authorities. > * Increased manual corrections required by users. > > *Suggested Fix:* > > * Review and correct the fiscal position assignment logic in the German > localization module. > * Ensure that VAT IDs and partner addresses are properly considered when > determining fiscal positions. > * Implement additional validation checks to avoid incorrect fiscal > position assignments. > * I have proposed a quick fix solution in my video. > > *Video:* > > * > *https://drive.google.com/file/d/1NY32FeGzALr8e-IpN9ojKlQGwe38ksAy/view > <https://drive.google.com/file/d/1NY32FeGzALr8e-IpN9ojKlQGwe38ksAy/view> > > > *Priority: * > > Critical > > *Additional Notes:* > > * > ** This issue was observed in trainings for our customers. > * All customers running on v16, v17, *v18 *in Odoo are effected (except > they assign fixed fiscal positions to partners, which happens in some > rare cases). > * Affected users have reported increased manual workload due to > incorrect assignments. > * Maybe they have created wrong account moves. Due to audit_trail we > cannot fix that easily. > * We have to investigate this now on all customer databases (german > companies). > * We strongly recommend you to warn other german customers working on a > v16, v17, *v18* version. > > > Thorsten Vocks > > openBIG.org > Dipl. Kaufmann (FH) > Porscheweg 4-6 > 49661 Cloppenburg > > Phone: +49 4471 8409000 > Fax: +49 4471 84090009 > Mail: thorsten.vocks@openbig.org <mailto:thorsten.vocks@openbig.org> > Web: http://www.openbig.org <http://www.openbig.org> > > _______________________________________________ > Mailing-List: https://odoo-community.org/groups/contributors-15 > <https://odoo-community.org/groups/contributors-15> > Post to: mailto:contributors@odoo-community.org > Unsubscribe: https://odoo-community.org/groups?unsubscribe > <https://odoo-community.org/groups?unsubscribe> > mit freundlichen Grüßen, Peter Niederlag -- Dipl. Ökonom Peter Niederlag Geschäftsführender Gesellschafter Lösungen für digitale Zeiten Agile DevOps, Cloud, TYPO3, Odoo und Linux Datenbetrieb Technologie UG(haftungsbeschränkt) Lipper Hellweg 146, 33605 Bielefeld Geschäftsführer: Peter Niederlag HRB 41826 Amtsgericht Bielefeld Fon 0521 / 446 958 60 Fax 0521 / 446 958 69
by Peter Niederlag - 12:41 - 22 Feb 2025 -
Re: Critical Fiscal Position Assignation Issue (only Germany) - 16.0 17.0 18.0
Hallo Frederik,
This revert
https://github.com/odoo/odoo/commit/af3a24c010d3e7158c1324f36a1529c510d886a6
and this original commit
https://github.com/odoo/odoo/commit/bcaf8cb859dc2f7e975d180ba0fc49da20204557
introduced and reverted the problematic code if i am not mistaken. I didn't review the code duely, but afais that the problematic code should only be in databases / data that have been created between
24th of September 2024 and 25th of October 2024
That means customers with versions of Odoo 16, 17 and 18 that either updated their code in that time frame or installed new databases should be affected. Others hopefully not!
Unfortunately not.I could recapture that today on Odoo runbot v18.Last week on v16, v17 (current runbot versions).And all my other testing was also databases on odoo runbot.I guess the revert didn't fix the introduced problem.Honestly i am not 100% sure which exact commit introducedthe issue.Best regardsThorsten
Best and thanks for circulating this
Frederik
Am 21.02.25 um 13:47 schrieb Thorsten Vocks:
Hello,
approx. 7 days ago we have detected a critical issue regarding the fiscal position assignation for setups with installed german localisation (l10n_de). Obviously all databases created / last updated approx. 20th October are affected.
At first we thought version 18.0 is not affected but that was wrong.
Here is the video with a manual fix of the fiscal positions:
At Odoo SA we have a open bug report but no response so far:
Issue Type: Critical Bug
Module: Accounting / German Localization
Odoo Versions: [16.0, 17.0]
Also affected is [18.0]
Impacted Environment:
* Both
* Not affected is 17.04., 18.0Summary:
The fiscal position is being incorrectly assigned to partners in the German localization (German B2B partners with Vat-ID assigned). This leads to incorrect tax calculations and potential legal compliance issues for users relying on automated fiscal position determination.
Steps to Reproduce:1. Configure the German localization module.
2. Create a new partner with an address located in Germany.
3. Assign a VAT ID to the partner.
4. Create a sales order or invoice for the partner.
5. Observe the fiscal position that gets assigned automatically (wrong).
Expected Behavior:
* The fiscal position should be assigned based on the VAT ID, address, and configured fiscal rules.
* The correct tax rates and exemptions should be applied in accordance with German tax regulations.
Observed Behavior:* The fiscal position is either not assigned correctly or does not reflect the expected tax rules.
* Especially B2B partners receive an incorrect fiscal position, leading to incorrect tax calculations.
* This can result in non-compliance with German tax regulations and incorrect tax reporting.
Impact:* Financial discrepancies due to incorrect tax application.
* Compliance risks with German tax authorities.
* Increased manual corrections required by users.
Suggested Fix:
* Review and correct the fiscal position assignment logic in the German localization module.
* Ensure that VAT IDs and partner addresses are properly considered when determining fiscal positions.
* Implement additional validation checks to avoid incorrect fiscal position assignments.
* I have proposed a quick fix solution in my video.Video:
https://drive.google.com/file/d/1NY32FeGzALr8e-IpN9ojKlQGwe38ksAy/view
Priority:
Critical
Additional Notes:
* This issue was observed in trainings for our customers.
* All customers running on v16, v17, v18 in Odoo are effected (except they assign fixed fiscal positions to partners, which happens in some rare cases).
* Affected users have reported increased manual workload due to incorrect assignments.
* Maybe they have created wrong account moves. Due to audit_trail we cannot fix that easily.
* We have to investigate this now on all customer databases (german companies).
* We strongly recommend you to warn other german customers working on a v16, v17, v18 version.
Thorsten Vocks
openBIG.org
Dipl. Kaufmann (FH)
Porscheweg 4-6
49661 Cloppenburg
Phone: +49 4471 8409000
Fax: +49 4471 84090009
Mail: thorsten.vocks@openbig.org
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
-- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH Innungsstraße 7 21244 Buchholz i.d.N. Tel: +49 (0) 4181 13503 12 Fax: +49 (0) 4181 13503 10 Mobil: +49 (0) 179 3901819 Email: frederik.kramer@initos.com Internet: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Buchholz i.d.N. Amtsgericht Tostedt, HRB 205226 USt-IdNr.: DE815580155 Steuer-Nr: 15/200/53247
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Thorsten Vocks - 05:36 - 21 Feb 2025 -
Re: Critical Fiscal Position Assignation Issue (only Germany) - 16.0 17.0 18.0
Thanks Thorsten,
that is an especially "funny" one that shows how important proper functional (regression) testing actually is. Especially but not limited to accounting!
The responsible guys at Odoo seem to have had the global case (some cases in US, NL and BL) in mind but didn't care too much about getting things right for each and every country. Hence i am pretty sure the problem is not even limited to the German localisation.
For the sake of transparency
This revert
https://github.com/odoo/odoo/commit/af3a24c010d3e7158c1324f36a1529c510d886a6
and this original commit
https://github.com/odoo/odoo/commit/bcaf8cb859dc2f7e975d180ba0fc49da20204557
introduced and reverted the problematic code if i am not mistaken. I didn't review the code duely, but afais that the problematic code should only be in databases / data that have been created between
24th of September 2024 and 25th of October 2024
That means customers with versions of Odoo 16, 17 and 18 that either updated their code in that time frame or installed new databases should be affected. Others hopefully not!
Best and thanks for circulating this
Frederik
Am 21.02.25 um 13:47 schrieb Thorsten Vocks:
Hello,
approx. 7 days ago we have detected a critical issue regarding the fiscal position assignation for setups with installed german localisation (l10n_de). Obviously all databases created / last updated approx. 20th October are affected.
At first we thought version 18.0 is not affected but that was wrong.
Here is the video with a manual fix of the fiscal positions:
At Odoo SA we have a open bug report but no response so far:
Issue Type: Critical Bug
Module: Accounting / German Localization
Odoo Versions: [16.0, 17.0]
Also affected is [18.0]
Impacted Environment:
* Both
* Not affected is 17.04., 18.0Summary:
The fiscal position is being incorrectly assigned to partners in the German localization (German B2B partners with Vat-ID assigned). This leads to incorrect tax calculations and potential legal compliance issues for users relying on automated fiscal position determination.
Steps to Reproduce:1. Configure the German localization module.
2. Create a new partner with an address located in Germany.
3. Assign a VAT ID to the partner.
4. Create a sales order or invoice for the partner.
5. Observe the fiscal position that gets assigned automatically (wrong).
Expected Behavior:
* The fiscal position should be assigned based on the VAT ID, address, and configured fiscal rules.
* The correct tax rates and exemptions should be applied in accordance with German tax regulations.
Observed Behavior:* The fiscal position is either not assigned correctly or does not reflect the expected tax rules.
* Especially B2B partners receive an incorrect fiscal position, leading to incorrect tax calculations.
* This can result in non-compliance with German tax regulations and incorrect tax reporting.
Impact:* Financial discrepancies due to incorrect tax application.
* Compliance risks with German tax authorities.
* Increased manual corrections required by users.
Suggested Fix:
* Review and correct the fiscal position assignment logic in the German localization module.
* Ensure that VAT IDs and partner addresses are properly considered when determining fiscal positions.
* Implement additional validation checks to avoid incorrect fiscal position assignments.
* I have proposed a quick fix solution in my video.Video:
https://drive.google.com/file/d/1NY32FeGzALr8e-IpN9ojKlQGwe38ksAy/view
Priority:
Critical
Additional Notes:
* This issue was observed in trainings for our customers.
* All customers running on v16, v17, v18 in Odoo are effected (except they assign fixed fiscal positions to partners, which happens in some rare cases).
* Affected users have reported increased manual workload due to incorrect assignments.
* Maybe they have created wrong account moves. Due to audit_trail we cannot fix that easily.
* We have to investigate this now on all customer databases (german companies).
* We strongly recommend you to warn other german customers working on a v16, v17, v18 version.
Thorsten Vocks
openBIG.org
Dipl. Kaufmann (FH)
Porscheweg 4-6
49661 Cloppenburg
Phone: +49 4471 8409000
Fax: +49 4471 84090009
Mail: thorsten.vocks@openbig.org
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
-- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH Innungsstraße 7 21244 Buchholz i.d.N. Tel: +49 (0) 4181 13503 12 Fax: +49 (0) 4181 13503 10 Mobil: +49 (0) 179 3901819 Email: frederik.kramer@initos.com Internet: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Buchholz i.d.N. Amtsgericht Tostedt, HRB 205226 USt-IdNr.: DE815580155 Steuer-Nr: 15/200/53247
by Frederik Kramer - 02:51 - 21 Feb 2025