Skip to content

Commit

Permalink
[RFC][TEMP] l10n_br_cte: remove norma_cte_infos
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelsavegnago committed Nov 14, 2024
1 parent f505dfa commit e7cc0f3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion l10n_br_cte/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
from . import document_cargo_quantity_infos
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
6 changes: 3 additions & 3 deletions l10n_br_cte/models/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -825,9 +825,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
1 change: 0 additions & 1 deletion l10n_br_cte/models/normal_cte_infos.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ class CTeNormalInfos(spec_models.StackedModel):
"odoo.addons.l10n_br_cte_spec.models.v4_0.cte_tipos_basico_v4_00"
)
_cte40_stacking_force_paths = "infctenorm.infdoc"
_cte40_stacking_skip_paths = "cte40_docAnt"

document_id = fields.Many2one(comodel_name="l10n_br_fiscal.document")

Expand Down
1 change: 0 additions & 1 deletion l10n_br_cte/security/ir.model.access.csv
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ l10n_br_cte_modal_aquaviario_balsa_user,l10n_br_cte_modal_aquav_balsa_user,model

l10n_br_cte_modal_duto_user,l10n_br_cte_modal_duto_user,model_l10n_br_cte_modal_duto,base.group_user,1,1,1,1

l10n_br_cte_normal_infos_user,l10n_br_cte_normal_infos_user,model_l10n_br_cte_normal_infos,base.group_user,1,1,1,1
l10n_br_cte_cargo_quantity_infos_user,l10n_br_cte_cargo_quantity_infos_user,model_l10n_br_cte_cargo_quantity_infos,base.group_user,1,1,1,1
l10n_br_cte_transported_vehicles_user,l10n_br_cte_transported_vehicles_user,model_l10n_br_cte_transported_vehicles,base.group_user,1,1,1,1

0 comments on commit e7cc0f3

Please sign in to comment.