Skip to content

Commit

Permalink
[REF] l10n_br_nfe_spec: multi-schemas + renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalyi committed Nov 30, 2024
1 parent faef826 commit d44268b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion l10n_br_nfe_spec/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from . import spec_models
from . import spec_mixin
from . import v4_0
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019-2020 Akretion - Raphael Valyi <[email protected]>
# Copyright 2019-TODAY Akretion - Raphaël Valyi <[email protected]>
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html).

from odoo import fields, models
Expand All @@ -7,13 +7,8 @@
class NfeSpecMixin(models.AbstractModel):
_description = "Abstract Model"
_name = "spec.mixin.nfe"
_field_prefix = "nfe40_"
_schema_name = "nfe"
_schema_version = "4.0.0"
_odoo_module = "l10n_br_nfe"
_spec_module = "odoo.addons.l10n_br_nfe_spec.models.v4_0.leiaute_nfe_v4_00"
_nfe40_odoo_module = "odoo.addons.l10n_br_nfe_spec.models.v4_0.leiaute_nfe_v4_00"
_nfe40_binding_module = "nfelib.nfe.bindings.v4_0.leiaute_nfe_v4_00"
_spec_tab_name = "NFe"

brl_currency_id = fields.Many2one(
comodel_name="res.currency",
Expand Down

0 comments on commit d44268b

Please sign in to comment.