Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMule71 committed Nov 10, 2022
1 parent 58d95e2 commit 6e3c01d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 32 deletions.
25 changes: 0 additions & 25 deletions l10n_it_vat_payability/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,3 @@
# Copyright 2021 Alex Comba - Agile Business Group

from . import models

from openupgradelib import openupgrade


def rename_old_italian_module(cr):

if not openupgrade.is_module_installed(cr, "l10n_it_esigibilita_iva"):
return

openupgrade.rename_xmlids(
cr,
[
(
"l10n_it_esigibilita_iva.view_tax_code_esigibilita_form",
"l10n_it_vat_payability.view_tax_code_payability_form",
),
],
)
openupgrade.update_module_names(
cr,
[
("l10n_it_esigibilita_iva", "l10n_it_vat_payability"),
],
merge_modules=True,
)
6 changes: 0 additions & 6 deletions l10n_it_vat_payability/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,8 @@
"depends": [
"account",
],
"external_dependencies": {
"python": [
"openupgradelib",
],
},
"data": [
"views/account_view.xml",
],
"installable": True,
"pre_init_hook": "rename_old_italian_module",
}
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# generated from manifests external_dependencies
openupgradelib

0 comments on commit 6e3c01d

Please sign in to comment.