diff --git a/eng_customer_fiscal_comments/README.rst b/eng_customer_fiscal_comments/README.rst new file mode 100644 index 000000000..5c6b33cfd --- /dev/null +++ b/eng_customer_fiscal_comments/README.rst @@ -0,0 +1,68 @@ +========================= +Customer Fiscal Comments +========================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:8af292f2a25c59deaeac4397f8d0f9f07118825d592ad0879bc13553244fbcc8 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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-Engenere%2Fengenere--addons-lightgray.png?logo=github + :target: https://github.com/Engenere/engenere-addons/tree/16.0/eng_customer_fiscal_comments + :alt: Engenere/engenere-addons + +|badge1| |badge2| |badge3| + +Eng Customer Fiscal Comments +---------------------------- + +Este módulo permite aos usuários para adicionar comentários relacionados +a impostos aos perfis dos clientes, que são exibidos nas faturas e nas +NFe. + +**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 +----------- + +.. |maintainer-cristianomafrajunior| image:: https://github.com/cristianomafrajunior.png?size=40px + :target: https://github.com/cristianomafrajunior + :alt: cristianomafrajunior + +Current maintainer: + +|maintainer-cristianomafrajunior| + +This module is part of the `Engenere/engenere-addons `_ project on GitHub. + +You are welcome to contribute. diff --git a/eng_customer_fiscal_comments/__manifest__.py b/eng_customer_fiscal_comments/__manifest__.py index 04b63107b..07441f3c8 100644 --- a/eng_customer_fiscal_comments/__manifest__.py +++ b/eng_customer_fiscal_comments/__manifest__.py @@ -8,12 +8,11 @@ "license": "AGPL-3", "author": "Engenere", "maintainers": ["cristianomafrajunior"], - "website": "https://engenere.one", + "website": "https://github.com/Engenere/engenere-addons", "category": "Services/Industry", - "version": "14.0.1.0.0", + "version": "16.0.1.0.0", "development_status": "Beta", "depends": [ - "account", "l10n_br_nfe", ], "data": [ diff --git a/eng_customer_fiscal_comments/models/document_mixin_methods.py b/eng_customer_fiscal_comments/models/document_mixin_methods.py index 61993e557..2f3110b70 100644 --- a/eng_customer_fiscal_comments/models/document_mixin_methods.py +++ b/eng_customer_fiscal_comments/models/document_mixin_methods.py @@ -8,6 +8,6 @@ def _document_comment(self): for d in self: if d.partner_id: d.manual_fiscal_additional_data = d.partner_id.fiscal_comments - super()._document_comment() else: d.manual_fiscal_additional_data = False + return super()._document_comment() diff --git a/eng_customer_fiscal_comments/pyproject.toml b/eng_customer_fiscal_comments/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/eng_customer_fiscal_comments/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/eng_customer_fiscal_comments/readme/DESCRIPTION.md b/eng_customer_fiscal_comments/readme/DESCRIPTION.md new file mode 100644 index 000000000..792902d08 --- /dev/null +++ b/eng_customer_fiscal_comments/readme/DESCRIPTION.md @@ -0,0 +1,3 @@ +## Eng Customer Fiscal Comments + +Este módulo permite aos usuários para adicionar comentários relacionados a impostos aos perfis dos clientes, que são exibidos nas faturas e nas NFe. diff --git a/eng_customer_fiscal_comments/static/description/index.html b/eng_customer_fiscal_comments/static/description/index.html new file mode 100644 index 000000000..445968217 --- /dev/null +++ b/eng_customer_fiscal_comments/static/description/index.html @@ -0,0 +1,411 @@ + + + + + +Customer Fiscal Comments + + + +
+

Customer Fiscal Comments

+ + +

Beta License: AGPL-3 Engenere/engenere-addons

+
+

Eng Customer Fiscal Comments

+

Este módulo permite aos usuários para adicionar comentários relacionados +a impostos aos perfis dos clientes, que são exibidos nas faturas e nas +NFe.

+

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.

+
+ +
+
+

Authors

+
    +
  • Engenere
  • +
+
+
+

Maintainers

+

Current maintainer:

+

cristianomafrajunior

+

This module is part of the Engenere/engenere-addons project on GitHub.

+

You are welcome to contribute.

+
+
+ + diff --git a/eng_customer_fiscal_comments/views/res_partner_views.xml b/eng_customer_fiscal_comments/views/res_partner_views.xml index 715970741..d4ba6f2c6 100644 --- a/eng_customer_fiscal_comments/views/res_partner_views.xml +++ b/eng_customer_fiscal_comments/views/res_partner_views.xml @@ -5,9 +5,9 @@ + expr="//field[@name='property_account_position_id']" + position="after" + >