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

[16.0][MIG][l10n_br_cte_spec] #3586

Draft
wants to merge 21 commits into
base: 16.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
b564a57
[ADD] l10n_br_cte_spec as generated by xsdata-odoo
rvalyi May 15, 2023
8a66ec1
[UPD] Update l10n_br_cte_spec.pot
Sep 27, 2023
9308f2b
[BOT] post-merge updates
OCA-git-bot Sep 27, 2023
ee4c09b
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Nov 27, 2023
b451780
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Jan 2, 2024
b012250
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Feb 19, 2024
da144d0
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Sep 26, 2024
8600065
[REF] l10n_br_cte_spec: black 24.4.2 formatting
rvalyi Jun 19, 2024
2e114c0
[IMP] l10n_br_cte_spec: NT 2024.002
rvalyi Jun 16, 2024
8cf887b
[RFC] l10n_br_cte_spec: rename model spec_models to spec_mixin
marcelsavegnago Oct 28, 2024
c9ea8ba
[RFC] l10n_br_cte_spec: multi schema refactor
marcelsavegnago Nov 21, 2024
83fbe6a
[IMP] l10n_br_cte_spec: bump version
marcelsavegnago Dec 10, 2024
c5d2ef7
[UPD] Update l10n_br_cte_spec.pot
Dec 10, 2024
b9843b3
[BOT] post-merge updates
OCA-git-bot Dec 10, 2024
9e922d0
Update translation files
weblate Dec 10, 2024
64d7ce4
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Dec 10, 2024
357f2d6
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Dec 11, 2024
2ac871b
[MIG] l10n_br_cte_spec: Migration to 15.0
rvalyi Jan 15, 2025
eec80bb
l10n_br_cte_spec: monkey patch to run tests
rvalyi Jan 16, 2025
9e6a0fa
[IMP] l10n_br_cte_spec: pre-commit stuff
rvalyi Jan 16, 2025
4126bdf
[MIG] l10n_br_cte_spec: Migration to 16.0
rvalyi Jan 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ exclude: |
# NOT INSTALLABLE ADDONS
# END NOT INSTALLABLE ADDONS
^l10n_br_nfe_spec/models/v4_0/| # (don't reformat generated code)
^l10n_br_cte_spec/models/v4_0/| # (don't reformat generated code)
^spec_driven_model/tests/| # (tests include generated code)
# Files and folders generated by bots, to avoid loops
^setup/|/static/description/index\.html$|
Expand Down
113 changes: 113 additions & 0 deletions l10n_br_cte_spec/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
========
cte spec
========

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:462a3ef999036fb73cd8555a0bad34ed0574ee6cf68e6ac9328012f353e23764
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
: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/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-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=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 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

.. 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 <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

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:%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/>`__:

- Raphaël Valyi <[email protected]>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

.. |maintainer-rvalyi| image:: https://github.com/rvalyi.png?size=40px
:target: https://github.com/rvalyi
:alt: rvalyi

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/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.
1 change: 1 addition & 0 deletions l10n_br_cte_spec/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
14 changes: 14 additions & 0 deletions l10n_br_cte_spec/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "cte spec",
"version": "16.0.1.0.0",
"author": "Akretion, Odoo Community Association (OCA)",
"license": "LGPL-3",
"category": "Accounting",
"summary": "CT-e spec",
"depends": ["base"],
"installable": True,
"application": False,
"development_status": "Alpha",
"maintainers": ["rvalyi"],
"website": "https://github.com/OCA/l10n-brazil",
}
Loading
Loading