diff --git a/l10n_br_mdfe/models/document_supplement.py b/l10n_br_mdfe/models/document_supplement.py index 4c902c57b055..3c6097652d21 100644 --- a/l10n_br_mdfe/models/document_supplement.py +++ b/l10n_br_mdfe/models/document_supplement.py @@ -6,8 +6,12 @@ from odoo.addons.spec_driven_model.models import spec_models -class MDFeSupplement(spec_models.SpecModel): +class MDFeSupplement(spec_models.StackedModel): _name = "l10n_br_fiscal.document.supplement" _inherit = ["l10n_br_fiscal.document.supplement", "mdfe.30.infmdfesupl"] + _mdfe30_odoo_module = ( + "odoo.addons.l10n_br_mdfe_spec.models.v3_0.mdfe_tipos_basico_v3_00" + ) + _mdfe30_stacking_mixin = "mdfe.30.infmdfesupl" mdfe30_qrCodMDFe = fields.Char(related="qrcode")