Skip to content

Commit

Permalink
[DON'T MERGE] test-requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Borruso committed Feb 4, 2025
1 parent da95108 commit 35ea546
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions l10n_it_account/migrations/18.0.1.0.0/post-migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"l10n_it_fatturapa",
"l10n_it_fiscalcode",
"l10n_it_ipa",
"l10n_it_pec",
"l10n_it_rea",
]

Expand Down Expand Up @@ -136,6 +137,13 @@ def _l10n_it_ipa_migration(env):
rename_fields(env, table, {"l10n_it_pa_index": "ipa_code"}, condition=condition)


def _l10n_it_pec_migration(env):
table = "res_partner"
add_field_if_not_exists(env, table, "l10n_it_pec_email", "char", "l10n_it_edi")
condition = "pec_mail IS NOT NULL"
rename_fields(env, table, {"l10n_it_pec_email": "pec_mail"}, condition=condition)


def _l10n_it_rea_migration(env):
table = "res_company"
add_field_if_not_exists(
Expand Down
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
odoo-addon-account_tax_balance @ git+https://github.com/OCA/account-financial-reporting.git@refs/pull/1263/head#subdirectory=account_tax_balance

0 comments on commit 35ea546

Please sign in to comment.