-
-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] l10n_br_cte_spec: pre-commit stuff
- Loading branch information
Showing
7 changed files
with
61 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,35 +17,40 @@ cte spec | |
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html | ||
:alt: License: LGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--brazil-lightgray.png?logo=github | ||
:target: https://github.com/OCA/l10n-brazil/tree/14.0/l10n_br_cte_spec | ||
:target: https://github.com/OCA/l10n-brazil/tree/16.0/l10n_br_cte_spec | ||
:alt: OCA/l10n-brazil | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/l10n-brazil-14-0/l10n-brazil-14-0-l10n_br_cte_spec | ||
:target: https://translation.odoo-community.org/projects/l10n-brazil-16-0/l10n-brazil-16-0-l10n_br_cte_spec | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-brazil&target_branch=14.0 | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-brazil&target_branch=16.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
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 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 inclui os principais layouts persistentes do CT-e (Conhecimento de Transporte Eletrônico). | ||
Este módulo inclui os principais layouts persistentes do CT-e | ||
(Conhecimento de Transporte Eletrônico). | ||
|
||
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: | ||
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: | ||
|
||
O comando usado foi:: | ||
:: | ||
|
||
export XSDATA_SCHEMA=cte; export XSDATA_VERSION=40; 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 | ||
export XSDATA_SCHEMA=cte; export XSDATA_VERSION=40; 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. | ||
|
@@ -63,27 +68,27 @@ Bug Tracker | |
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-brazil/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 <https://github.com/OCA/l10n-brazil/issues/new?body=module:%20l10n_br_cte_spec%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
`feedback <https://github.com/OCA/l10n-brazil/issues/new?body=module:%20l10n_br_cte_spec%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
------- | ||
|
||
* Akretion | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
------------ | ||
|
||
* `AKRETION <https://akretion.com/pt-BR/>`_: | ||
- `AKRETION <https://akretion.com/pt-BR/>`__: | ||
|
||
* Raphaël Valyi <[email protected]> | ||
- Raphaël Valyi <[email protected]> | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
----------- | ||
|
||
This module is maintained by the OCA. | ||
|
||
|
@@ -103,6 +108,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__: | |
|
||
|maintainer-rvalyi| | ||
|
||
This module is part of the `OCA/l10n-brazil <https://github.com/OCA/l10n-brazil/tree/14.0/l10n_br_cte_spec>`_ project on GitHub. | ||
This module is part of the `OCA/l10n-brazil <https://github.com/OCA/l10n-brazil/tree/16.0/l10n_br_cte_spec>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["whool"] | ||
build-backend = "whool.buildapi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [AKRETION](https://akretion.com/pt-BR/): | ||
- Raphaël Valyi \<<[email protected]>\> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
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 inclui os principais layouts persistentes do CT-e | ||
(Conhecimento de Transporte Eletrônico). | ||
|
||
## 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=40; 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 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters