Skip to content

Commit

Permalink
[MIG] eng_customer_fiscal_comments: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CristianoMafraJunior committed Feb 3, 2025
1 parent 0011afe commit c227cd2
Show file tree
Hide file tree
Showing 9 changed files with 509 additions and 10 deletions.
65 changes: 65 additions & 0 deletions eng_customer_fiscal_comments/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
=========================
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|

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

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/Engenere/engenere-addons/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/Engenere/engenere-addons/issues/new?body=module:%20eng_customer_fiscal_comments%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
-------

* 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 <https://github.com/Engenere/engenere-addons/tree/16.0/eng_customer_fiscal_comments>`_ project on GitHub.

You are welcome to contribute.
9 changes: 3 additions & 6 deletions eng_customer_fiscal_comments/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +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",
],
"depends": ["account", "l10n_br_fiscal"],
"data": [
"views/res_partner_views.xml",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check warning on line 12 in eng_customer_fiscal_comments/models/document_mixin_methods.py

View check run for this annotation

Codecov / codecov/patch

eng_customer_fiscal_comments/models/document_mixin_methods.py#L12

Added line #L12 was not covered by tests
return super()._document_comment()
3 changes: 3 additions & 0 deletions eng_customer_fiscal_comments/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
2 changes: 2 additions & 0 deletions eng_customer_fiscal_comments/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

Este módulo permite que os usuários adicionem comentários relacionados a impostos aos perfis dos clientes, os quais são exibidos nas faturas e nas NFe.
Loading

0 comments on commit c227cd2

Please sign in to comment.