From 9108f175c2de9ee83c947a574b7741ec21fc5a3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B4nio=20Neto?= Date: Sun, 1 Sep 2024 00:53:47 -0300 Subject: [PATCH 1/2] [FIX] l10n_br_fiscal: edi migration --- l10n_br_fiscal/__manifest__.py | 2 +- l10n_br_fiscal/migrations/14.0.23.0.0/pre-migration.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/l10n_br_fiscal/__manifest__.py b/l10n_br_fiscal/__manifest__.py index db2c293cd9a1..4bd39293be0b 100644 --- a/l10n_br_fiscal/__manifest__.py +++ b/l10n_br_fiscal/__manifest__.py @@ -10,7 +10,7 @@ "maintainers": ["renatonlima"], "website": "https://github.com/OCA/l10n-brazil", "development_status": "Production/Stable", - "version": "14.0.22.4.2", + "version": "14.0.23.0.0", "depends": [ "product", "l10n_br_base", diff --git a/l10n_br_fiscal/migrations/14.0.23.0.0/pre-migration.py b/l10n_br_fiscal/migrations/14.0.23.0.0/pre-migration.py index 523a0062131c..9dae487c2dd5 100644 --- a/l10n_br_fiscal/migrations/14.0.23.0.0/pre-migration.py +++ b/l10n_br_fiscal/migrations/14.0.23.0.0/pre-migration.py @@ -20,3 +20,8 @@ def install_new_modules(cr): @openupgrade.migrate() def migrate(env, version): install_new_modules(env.cr) + query = """ + DELETE FROM ir_model_fields + WHERE model = 'l10n_br_fiscal.document.electronic' + """ + openupgrade.logged_query(env.cr, query) From 3aeefb0d270287e8af1341e97d2301f25382fc0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B4nio=20Neto?= Date: Sun, 1 Sep 2024 00:56:06 -0300 Subject: [PATCH 2/2] [FIX] l10n_br_fiscal_edi: wrong status_description --- l10n_br_fiscal_edi/views/document_view.xml | 3 --- 1 file changed, 3 deletions(-) diff --git a/l10n_br_fiscal_edi/views/document_view.xml b/l10n_br_fiscal_edi/views/document_view.xml index 6bf4a3ec74b6..671bf10a9a58 100644 --- a/l10n_br_fiscal_edi/views/document_view.xml +++ b/l10n_br_fiscal_edi/views/document_view.xml @@ -7,9 +7,6 @@ 5 - - : -