Skip to content

Commit

Permalink
[TMP] l10n_br_nfe_spec: dependency hack
Browse files Browse the repository at this point in the history
before v15 the dependency on the spec_driven_model opiniated module
is avoided and spec.mixin is inherited ib _build_model dynamically.
But as this is still broken, this work around make things work.
  • Loading branch information
rvalyi committed May 22, 2024
1 parent a832cac commit 72eb503
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_br_nfe_spec/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "LGPL-3",
"category": "Accounting",
"summary": "nfe spec",
"depends": ["base"],
"depends": ["base", "spec_driven_model"],
"installable": True,
"application": False,
"development_status": "Mature",
Expand Down
1 change: 1 addition & 0 deletions l10n_br_nfe_spec/models/spec_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
class NfeSpecMixin(models.AbstractModel):
_description = "Abstract Model"
_name = "spec.mixin.nfe"
_inherit = "spec.mixin"
_field_prefix = "nfe40_"
_schema_name = "nfe"
_schema_version = "4.0.0"
Expand Down

0 comments on commit 72eb503

Please sign in to comment.