Accounting mailing list archives

accounting@odoo-community.org

Avatar

Modify Demodata/Accounting Localisation for Testing

by
Datenbetrieb Technologie UGh, Peter Niederlag
- 26/05/2025 18:14:15
Hello dear fellow Odooers,

currently I am porting an OCA-module to 18.x. Unfortunatly the tests are 
broken as the default chart of accounts (generic_coa) is installed while 
the tests rely on the chart of accounts from the german localisation 
(l10n_de) being in place and used during setup of demo(testing)-data.

Any tips/suggestions on changing stuff so my tests are run with 
accounting based on german localisation?

I tried to add a depedency for "l10n_de" but unfortunatly that didn't 
quite do the trick.

https://github.com/OCA/l10n-germany/pull/188

thx and greets,
Peter

Follow-Ups