Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 5 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
11 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.97 MB
Module directory on disk
Code analysis 1 migration note 5 models 8 views 0 HTTP endpoints

Description

Este módulo permite a emissão de CT-e (Conhecimento de Transporte).

Mais especificamente ele:

  • mapea os campos de CT-e do módulo l10n_br_cte_spec com os campos Odoo.
  • usa a logica do módulo spec_driven_model para realizar esse mapeamento de forma dinâmica, em especial ele usa o sistema de modelos com várias camadas, ou StackedModel, com os modelos l10n_br_fiscal.document e l10n_br_fiscal.document.related que tem varios niveis hierarquicos de elementos XML que estão sendo denormalizados dentro desses modelos Odoo 
  • tem wizards para implementar a comunicação SOAP de CT-e com a SEFAZ (Autorização, Cancelamento, Encerramento...)

Dependencies

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 8

XML IDNameModelTypeStatus
cte_document_form_view cte.document.form.view (in l10n_br_cte) l10n_br_fiscal.document form Inherits l10n_br_fiscal.document_form
cte_res_company_form cte.res.company.form res.company form Inherits l10n_br_fiscal.fiscal_res_company_form
document_correction_wizard_form l10n_br_fiscal.document.correction.wizard form Inherits l10n_br_fiscal_edi.document_correction_wizard_form
modal_aereo_peri_form_view modal.aereo.peri.form.view (in l10n_br_cte) l10n_br_cte.modal.aereo.peri form New
modal_aquaviario_balsa_form_view modal.aquaviario.balsa.form.view (in l10n_br_cte) l10n_br_cte.modal.aquav.balsa form New
modal_ferroviario_ferroenv_form_view res.partner.ferroenv.form.view (in l10n_br_cte) res.partner form New
modal_rodoviario_occ_form_view modal.rodoviario.occ.form.view (in l10n_br_cte) l10n_br_cte.modal.rodo.occ form New
res_partner_tenderfer_form_view res.partner.tenderfer.form.view res.partner form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 5

New fields (0)

No new fields.

Public methods (1)
  • render_dacte_brazilfiscalreport(self, cte, cte_xml)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (6)
  • insurance_endorsement Char
    help='The endorsement number associated with the insurance policy, indicating any modifications or adjustments to the coverage. This field is primarily used when issuing the CT-e.'
  • insurance_policy Char
    help='The insurance policy number covering the transported goods. This field is primarily used when issuing the CT-e.'
  • partner_insurance_id Many2one → res.partner
    help='The partner providing insurance coverage for the transported goods. This field is primarily used when issuing the CT-e.' string='Insurance Provider' args: 'res.partner'
  • partner_receivering_id Many2one → res.partner
    help='The intermediary partner who receives the goods before they reach the final recipient, often involved in verification, temporary storage, or further distribution. This field is primarily used when issuing the CT-e.' string='Receiver Address' args: 'res.partner'
  • partner_sendering_id Many2one → res.partner
    help='The partner responsible for sending the goods, typically the issuer of the document. This field is primarily used when issuing the CT-e.' string='Sender Address' args: 'res.partner'
  • partner_shippering_id Many2one → res.partner
    help='The partner responsible for delivering the cargo to the carrier, if not done directly by the sender. This field is primarily used when issuing the CT-e.' string='Shipper Address' args: 'res.partner'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • cte_authorize_accountant_download_xml Boolean
    readonly=False related='company_id.cte_authorize_accountant_download_xml' string='Include Accountant Partner data in persons authorized to download CTe XML'
  • cte_transmission Selection
    readonly=False related='company_id.cte_transmission' string='CTe Transmission'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…