Skip to content
Snippets Groups Projects
Commit 259e270d authored by Guillaume (guva)'s avatar Guillaume (guva)
Browse files

[FIX] l10n_au: don't duplicate tax repartit° lines when upgrade


We don't duplicate the tax repartition lines
when upgrading the account module

Steps:

- Create a company with l10n_au installed
- Upgrade account module
- Create a second company
- Try to link it with Australian accounting
-> ValidationError: Invoice and credit note repartition
should each contain exactly one line for the base.

We remove the records before creating them again,
like we do in l10n_be/data/account_tax_template_data.xml

opw-2862296

closes odoo/odoo#92873

Signed-off-by: default avatarFlorian Gilbert (flg) <flg@odoo.com>
parent 043a7803
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment