Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP][ADD][14.0] l10n_br_cte: add new module #3151

Conversation

marcelsavegnago
Copy link
Member

@marcelsavegnago marcelsavegnago commented Jul 2, 2024

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

  • Added initialization imports for models and hooks in __init__.py. (l10n_br_cte/__init__.py)
  • Created a manifest file __manifest__.py with module metadata, dependencies, data files, and external dependencies. (l10n_br_cte/__manifest__.py)

Models and Constants

  • Defined constants in constants/modal.py for CTE modal version and state abbreviations. (l10n_br_cte/constants/modal.py)
  • Implemented various models including aereo, aquaviario, document, res_company, res_partner, and more. (l10n_br_cte/models/__init__.py)

Hooks

  • Added a post_init_hook function in hooks.py to register hooks during module initialization. (l10n_br_cte/hooks.py)

Views

  • Added XML view files for different transportation modals (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

  • Added a comprehensive README file to explain the module's functionality, configuration, usage, and credits. (l10n_br_cte/README.rst)

@OCA-git-bot
Copy link
Contributor

Hi @renatonlima, @rvalyi,
some modules you are maintaining are being modified, check this out!

@marcelsavegnago marcelsavegnago force-pushed the 14.0-add-l10n_br_cte-rebased-escodoo-with-commits_clean branch 2 times, most recently from eccfefa to 2d8ca60 Compare July 5, 2024 13:49
@marcelsavegnago marcelsavegnago force-pushed the 14.0-add-l10n_br_cte-rebased-escodoo-with-commits_clean branch 7 times, most recently from b0727c6 to 07879e3 Compare July 17, 2024 21:02
@marcelsavegnago marcelsavegnago marked this pull request as draft July 18, 2024 20:50
@marcelsavegnago marcelsavegnago force-pushed the 14.0-add-l10n_br_cte-rebased-escodoo-with-commits_clean branch 3 times, most recently from 06455a7 to 0928ad7 Compare July 20, 2024 18:32
@marcelsavegnago marcelsavegnago force-pushed the 14.0-add-l10n_br_cte-rebased-escodoo-with-commits_clean branch 5 times, most recently from 31b6869 to db4ea4b Compare September 11, 2024 14:11
@marcelsavegnago marcelsavegnago changed the title [WIP-TEMP][ADD][14.0] l10n_br_cte: testes e limpeza dos commits [WIP-[ADD][14.0] l10n_br_cte: testes e limpeza dos commits Sep 11, 2024
@marcelsavegnago marcelsavegnago changed the title [WIP-[ADD][14.0] l10n_br_cte: testes e limpeza dos commits [WIP][ADD][14.0] l10n_br_cte: add new module Sep 11, 2024
@marcelsavegnago marcelsavegnago force-pushed the 14.0-add-l10n_br_cte-rebased-escodoo-with-commits_clean branch 4 times, most recently from 665a135 to b7b9408 Compare September 14, 2024 13:50
@marcelsavegnago marcelsavegnago force-pushed the 14.0-add-l10n_br_cte-rebased-escodoo-with-commits_clean branch from c1c2dfc to a9eda94 Compare September 16, 2024 15:56
@marcelsavegnago
Copy link
Member Author

Substituída por: #3492

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants