Skip to content

Commit

Permalink
[IMP] l10n_br_fiscal: migration script
Browse files Browse the repository at this point in the history
  • Loading branch information
corredato committed Nov 12, 2024
1 parent 34d3b42 commit 2354c4d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_br_fiscal/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"maintainers": ["renatonlima"],
"website": "https://github.com/OCA/l10n-brazil",
"development_status": "Production/Stable",
"version": "14.0.23.3.1",
"version": "14.0.24.0.0",
"depends": [
"product",
"l10n_br_base",
Expand Down
8 changes: 8 additions & 0 deletions l10n_br_fiscal/migrations/14.0.24.0.0/post-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
openupgrade.delete_records_safely_by_xml_id(
env, ["l10n_br_fiscal.l10n_br_fiscal_tax_estimate_rule"]
)

0 comments on commit 2354c4d

Please sign in to comment.