From 6e3c01da19e0a7e010ff0ac53f3908cd1ccaa330 Mon Sep 17 00:00:00 2001 From: Marco Colombo Date: Thu, 10 Nov 2022 16:50:52 +0100 Subject: [PATCH] f --- l10n_it_vat_payability/__init__.py | 25 ------------------------- l10n_it_vat_payability/__manifest__.py | 6 ------ requirements.txt | 1 - 3 files changed, 32 deletions(-) diff --git a/l10n_it_vat_payability/__init__.py b/l10n_it_vat_payability/__init__.py index b218dc15b469..5b0b7a76c2a4 100644 --- a/l10n_it_vat_payability/__init__.py +++ b/l10n_it_vat_payability/__init__.py @@ -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, - ) diff --git a/l10n_it_vat_payability/__manifest__.py b/l10n_it_vat_payability/__manifest__.py index 3a9281f5bee2..7d5124004bb1 100644 --- a/l10n_it_vat_payability/__manifest__.py +++ b/l10n_it_vat_payability/__manifest__.py @@ -14,14 +14,8 @@ "depends": [ "account", ], - "external_dependencies": { - "python": [ - "openupgradelib", - ], - }, "data": [ "views/account_view.xml", ], "installable": True, - "pre_init_hook": "rename_old_italian_module", } diff --git a/requirements.txt b/requirements.txt index 180fc49789ba..9cd1629223bf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1 @@ # generated from manifests external_dependencies -openupgradelib