diff --git a/l10n_br_cte/models/__init__.py b/l10n_br_cte/models/__init__.py index e1249dae7504..f27acbb8dd11 100644 --- a/l10n_br_cte/models/__init__.py +++ b/l10n_br_cte/models/__init__.py @@ -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 diff --git a/l10n_br_cte/models/document.py b/l10n_br_cte/models/document.py index a48c87066b00..506415934fdf 100644 --- a/l10n_br_cte/models/document.py +++ b/l10n_br_cte/models/document.py @@ -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", diff --git a/l10n_br_cte/models/normal_cte_infos.py b/l10n_br_cte/models/normal_cte_infos.py index a01d5049a52a..9a893311c3b4 100644 --- a/l10n_br_cte/models/normal_cte_infos.py +++ b/l10n_br_cte/models/normal_cte_infos.py @@ -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") diff --git a/l10n_br_cte/security/ir.model.access.csv b/l10n_br_cte/security/ir.model.access.csv index a7ed316bbe7a..1ee6536b59b4 100644 --- a/l10n_br_cte/security/ir.model.access.csv +++ b/l10n_br_cte/security/ir.model.access.csv @@ -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