From 14eba99d504bddb49256307811d34ca60757c293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B4nio=20Neto?= Date: Fri, 19 Jul 2024 15:52:20 -0300 Subject: [PATCH] [FIX] l10n_br_nfse_betha: ConstrucaoCivil data --- l10n_br_account_nfse/README.rst | 85 ++++ .../static/description/index.html | 427 ++++++++++++++++++ l10n_br_nfse_betha/README.rst | 81 ++++ l10n_br_nfse_betha/models/document.py | 5 +- .../static/description/index.html | 417 +++++++++++++++++ 5 files changed, 1014 insertions(+), 1 deletion(-) create mode 100644 l10n_br_account_nfse/static/description/index.html create mode 100644 l10n_br_nfse_betha/README.rst create mode 100644 l10n_br_nfse_betha/static/description/index.html diff --git a/l10n_br_account_nfse/README.rst b/l10n_br_account_nfse/README.rst index e69de29bb2d1..a46a2ff6a376 100644 --- a/l10n_br_account_nfse/README.rst +++ b/l10n_br_account_nfse/README.rst @@ -0,0 +1,85 @@ +========================= +Account NFS-e Integration +========================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:b3228f41895a2fd8b23ba2e4fdb5515eb61adbdf037b507ba82889fcdd6c3909 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-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_account_nfse + :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_account_nfse + :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 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +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. + +Credits +======= + +Authors +~~~~~~~ + +* Engenere + +Contributors +~~~~~~~~~~~~ + +* `Engenere `_: + + * Antônio S. Pereira Neto + +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-antoniospneto| image:: https://github.com/antoniospneto.png?size=40px + :target: https://github.com/antoniospneto + :alt: antoniospneto + +Current `maintainer `__: + +|maintainer-antoniospneto| + +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. diff --git a/l10n_br_account_nfse/static/description/index.html b/l10n_br_account_nfse/static/description/index.html new file mode 100644 index 000000000000..1d3c3433c3aa --- /dev/null +++ b/l10n_br_account_nfse/static/description/index.html @@ -0,0 +1,427 @@ + + + + + +Account NFS-e Integration + + + +
+

Account NFS-e Integration

+ + +

Beta License: AGPL-3 OCA/l10n-brazil Translate me on Weblate Try me on Runboat

+

Table of contents

+ +
+

Bug Tracker

+

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.

+
+
+

Credits

+
+

Authors

+
    +
  • Engenere
  • +
+
+
+

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:

+

antoniospneto

+

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.

+
+
+
+ + diff --git a/l10n_br_nfse_betha/README.rst b/l10n_br_nfse_betha/README.rst new file mode 100644 index 000000000000..a83cccfa3bba --- /dev/null +++ b/l10n_br_nfse_betha/README.rst @@ -0,0 +1,81 @@ +============= +NFS-e (Betha) +============= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:bc70364e46d513b0ea4bc18335670b3dc7f19f876d8d778db7d6501164f3e2a5 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-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_nfse_betha + :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_nfse_betha + :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 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +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. + +Credits +======= + +Authors +~~~~~~~ + +* Engenere + +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-antoniospneto| image:: https://github.com/antoniospneto.png?size=40px + :target: https://github.com/antoniospneto + :alt: antoniospneto +.. |maintainer-felipemotter| image:: https://github.com/felipemotter.png?size=40px + :target: https://github.com/felipemotter + :alt: felipemotter + +Current `maintainers `__: + +|maintainer-antoniospneto| |maintainer-felipemotter| + +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. diff --git a/l10n_br_nfse_betha/models/document.py b/l10n_br_nfse_betha/models/document.py index 05501a427090..5ac7ec398023 100644 --- a/l10n_br_nfse_betha/models/document.py +++ b/l10n_br_nfse_betha/models/document.py @@ -5,6 +5,7 @@ from nfselib.bindings.betha.servico_enviar_lote_rps_envio_v01 import EnviarLoteRpsEnvio from nfselib.bindings.betha.tipos_nfe_v01 import ( TcCpfCnpj, + TcDadosConstrucaoCivil, TcDadosServico, TcDadosTomador, TcEndereco, @@ -123,7 +124,9 @@ def _serialize_betha_rps(self, dados): ), Tomador=self._serialize_betha_dados_tomador(), IntermediarioServico=dados["intermediario_servico"], - ConstrucaoCivil=dados["construcao_civil"], + ConstrucaoCivil=TcDadosConstrucaoCivil( + CodigoObra=dados["codigo_obra"], Art=dados["art"] + ), ) ) diff --git a/l10n_br_nfse_betha/static/description/index.html b/l10n_br_nfse_betha/static/description/index.html new file mode 100644 index 000000000000..4174fc3675dc --- /dev/null +++ b/l10n_br_nfse_betha/static/description/index.html @@ -0,0 +1,417 @@ + + + + + +NFS-e (Betha) + + + +
+

NFS-e (Betha)

+ + +

Beta License: AGPL-3 OCA/l10n-brazil Translate me on Weblate Try me on Runboat

+

Table of contents

+ +
+

Bug Tracker

+

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.

+
+
+

Credits

+
+

Authors

+
    +
  • Engenere
  • +
+
+
+

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 maintainers:

+

antoniospneto felipemotter

+

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.

+
+
+
+ +