Skip to content

Commit

Permalink
test1
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelsavegnago committed Nov 14, 2024
1 parent e7cc0f3 commit 92cd344
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion l10n_br_cte/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from . import document_supplement
from . import document_transported_vehicles

# from . import normal_cte_infos
from . import normal_cte_infos
from . import document_comment
from . import res_country
from . import document_type
Expand Down
7 changes: 4 additions & 3 deletions l10n_br_cte/models/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ class CTe(spec_models.StackedModel):
"cte40_comHora",
"cte40_noInter",
# "cte40_NFref_ide_id",
"cte40_infCTeNorm",
)

# all m2o at this level will be stacked even if not required:
Expand Down Expand Up @@ -825,9 +826,9 @@ def _export_fields_cte_40_timp(self, xsd_fields, class_obj, export_dict):
default="cte40_infCTeNorm",
)

# cte40_infCTeNorm = fields.Many2one(
# comodel_name="l10n_br_cte.normal.infos",
# )
cte40_infCTeNorm = fields.Many2one(
comodel_name="l10n_br_cte.normal.infos",
)

# cte40_infCTeNorm = fields.Many2one(
# comodel_name="l10n_br_cte.normal.infos",
Expand Down

0 comments on commit 92cd344

Please sign in to comment.