Skip to content

Latest commit

 

History

History
112 lines (78 loc) · 4.15 KB

README.rst

File metadata and controls

112 lines (78 loc) · 4.15 KB

cte spec

Alpha License: LGPL-3 OCA/l10n-brazil Translate me on Weblate Try me on Runboat

Este módulo contem a estrutura de dados do Conhecimento de Transporte Eletrônico (CT-e). Este módulo não faz nada sozinho, ele precisaria de um modulo l10n_br_cte que mapearia esses mixins nos documentos fiscais Odoo de forma semelhante a forma como o módulo l10n_br_nfe faz como o módulo l10n_br_nfe_spec.

Este módulo inclue os principais leiautes persistantes de CT-e:

  • CT-e (Conhecimento de Transporte Eletrônico)
  • CT-e OS (Conhecimento de transporte eletrônico para outros serviço

Geração

O código dos mixins Odoo desse módulo é 100% gerado a partir dos últimos esquemas xsd da Fazenda usando xsdata e essa extensão dele:

https://github.com/akretion/xsdata-odoo

O comando usado foi:

export XSDATA_SCHEMA=cte; export XSDATA_VERSION=30; export XSDATA_SKIP="^ICMS\d+|^ICMSSN+|ICMSOutraUF|ICMSUFFim"; export XSDATA_LANG="portuguese"
xsdata generate nfelib/cte/schemas/v4_0 --package nfelib.cte.odoo.v4_0 --output=odoo

Important

This is an alpha version, the data model and design can change at any time without warning. Only for development or testing purpose, do not use in production. More details on development status

Table of contents

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Authors

  • Akretion

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

rvalyi

This module is part of the OCA/l10n-brazil project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.