From cbf090a46d2955a52455ab32d8db36855196d205 Mon Sep 17 00:00:00 2001 From: Marcel Savegnago Date: Tue, 15 Oct 2024 15:35:31 -0300 Subject: [PATCH] [RFC] l10n_br_mdfe_spec: refactor for multischema round2 --- l10n_br_mdfe_spec/models/spec_models.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/l10n_br_mdfe_spec/models/spec_models.py b/l10n_br_mdfe_spec/models/spec_models.py index dde5ec995383..2dce2d1c2460 100644 --- a/l10n_br_mdfe_spec/models/spec_models.py +++ b/l10n_br_mdfe_spec/models/spec_models.py @@ -7,13 +7,10 @@ class MdfeSpecMixin(models.AbstractModel): _description = "Abstract Model" _name = "spec.mixin.mdfe" - _field_prefix = "mdfe30_" - _schema_name = "mdfe" - _schema_version = "3.0.0" - _odoo_module = "l10n_br_mdfe" - _spec_module = "odoo.addons.l10n_br_mdfe_spec.models.v3_0.mdfe_tipos_basico_v3_00" - _binding_module = "nfelib.mdfe.bindings.v3_0.mdfe_tipos_basico_v3_00" - _spec_tab_name = "mdfe" + _mdfe30_odoo_module = ( + "odoo.addons.l10n_br_mdfe_spec.models.v3_0.mdfe_tipos_basico_v3_00" + ) + _mdfe30_binding_module = "nfelib.mdfe.bindings.v3_0.mdfe_tipos_basico_v3_00" brl_currency_id = fields.Many2one( comodel_name="res.currency",