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) 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 - - : -