[WIP][ADD][14.0] l10n_br_cte: add new module #3151
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new module for Brazilian Electronic Invoice CT-e in the
l10n_br_cte
package. The changes include updates to the module's manifest, new models, views, and constants, as well as a README file. The most important changes are summarized below:Module Initialization and Manifest
__init__.py
. (l10n_br_cte/__init__.py
)__manifest__.py
with module metadata, dependencies, data files, and external dependencies. (l10n_br_cte/__manifest__.py
)Models and Constants
constants/modal.py
for CTE modal version and state abbreviations. (l10n_br_cte/constants/modal.py
)aereo
,aquaviario
,document
,res_company
,res_partner
, and more. (l10n_br_cte/models/__init__.py
)Hooks
post_init_hook
function inhooks.py
to register hooks during module initialization. (l10n_br_cte/hooks.py
)Views
modal_aereo.xml
,modal_aquaviario.xml
,modal_ferroviario.xml
,modal_rodoviario.xml
). (l10n_br_cte/modal/modal_aereo.xml
,l10n_br_cte/modal/modal_aquaviario.xml
,l10n_br_cte/modal/modal_ferroviario.xml
,l10n_br_cte/modal/modal_rodoviario.xml
) [1] [2] [3] [4]Documentation
l10n_br_cte/README.rst
)