Accounting mailing list archives
accounting@odoo-community.org
Browse archives
Re: Modify Demodata/Accounting Localisation for Testing
by
TAKOBI s.r.l., Lorenzo Battistini.
Hello,
I think you can take inspiration from
https://github.com/odoo/odoo/blob/18.0/addons/l10n_de/tests/test_account_move.py
Lorenzo Battistini
I think you can take inspiration from
https://github.com/odoo/odoo/blob/18.0/addons/l10n_de/tests/test_account_move.py
Lorenzo Battistini
On 26/05/25 18:17, Peter Niederlag
wrote:
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_______________________________________________
Mailing-List: https://odoo-community.org/groups/accounting-28
Post to: mailto:accounting@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Reference
-
Modify Demodata/Accounting Localisation for Testing
byDatenbetrieb Technologie UGh, Peter Niederlag-
Re: Modify Demodata/Accounting Localisation for Testing
byDatenbetrieb Technologie UGh, Peter Niederlag -
Re: Modify Demodata/Accounting Localisation for Testing
byTAKOBI s.r.l., Lorenzo Battistini.
-