Skip to content

Commit

Permalink
[IMP] account_brand: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardCForgeFlow committed Mar 8, 2024
1 parent c68a4de commit e264c02
Show file tree
Hide file tree
Showing 15 changed files with 49 additions and 50 deletions.
46 changes: 23 additions & 23 deletions account_brand/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ Account Brand
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbrand-lightgray.png?logo=github
:target: https://github.com/OCA/brand/tree/16.0/account_brand
:target: https://github.com/OCA/brand/tree/17.0/account_brand
:alt: OCA/brand
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/brand-16-0/brand-16-0-account_brand
:target: https://translation.odoo-community.org/projects/brand-17-0/brand-17-0-account_brand
: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/brand&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/brand&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows you to send branded invoices to your customers.
It adds a brand field on the invoice and the brand information to the PDF
This module allows you to send branded invoices to your customers. It
adds a brand field on the invoice and the brand information to the PDF
report.

**Table of contents**
Expand All @@ -41,56 +41,56 @@ Configuration
=============

To configure this module, please refer to the documentation of
`brand <https://github.com/OCA/brand/blob/12.0/brand/README.rst>`_.
`brand <https://github.com/OCA/brand/blob/12.0/brand/README.rst>`__.

Usage
=====

To use this module, you need to:

#. Go to Accounting > Customers > Invoices
#. Select or create an invoice
#. Enter the information and select the brand
#. Print the PDF report. It includes the information of the brand.
1. Go to Accounting > Customers > Invoices
2. Select or create an invoice
3. Enter the information and select the brand
4. Print the PDF report. It includes the information of the brand.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/brand/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/brand/issues/new?body=module:%20account_brand%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/brand/issues/new?body=module:%20account_brand%0Aversion:%2017.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
~~~~~~~
-------

* Open Source Integrators
* ACSONE SA/NV

Contributors
~~~~~~~~~~~~
------------

* Raphael Lee <[email protected]>
* Steve Campbell <[email protected]>
* Maxime Chambreuil <[email protected]>
- Raphael Lee <[email protected]>
- Steve Campbell <[email protected]>
- Maxime Chambreuil <[email protected]>
- `Obertix <https://www.obertix.net>`__:

* `Obertix <https://www.obertix.net>`_:
- Vicent Cubells

* Vicent Cubells
* Ammar Officewala <[email protected]>
- Ammar Officewala <[email protected]>

Other credits
~~~~~~~~~~~~~
-------------

* Open Source Integrators <https://www.opensourceintegrators.com>
- Open Source Integrators <https://www.opensourceintegrators.com>

Maintainers
~~~~~~~~~~~
-----------

This module is maintained by the OCA.

Expand All @@ -113,6 +113,6 @@ Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-osi-scampbell| |maintainer-sbejaoui|

This module is part of the `OCA/brand <https://github.com/OCA/brand/tree/16.0/account_brand>`_ project on GitHub.
This module is part of the `OCA/brand <https://github.com/OCA/brand/tree/17.0/account_brand>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions account_brand/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 account_brand/readme/CONFIGURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
To configure this module, please refer to the documentation of
[brand](https://github.com/OCA/brand/blob/12.0/brand/README.rst).
2 changes: 0 additions & 2 deletions account_brand/readme/CONFIGURE.rst

This file was deleted.

6 changes: 6 additions & 0 deletions account_brand/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- Raphael Lee \<<[email protected]>\>
- Steve Campbell \<<[email protected]>\>
- Maxime Chambreuil \<<[email protected]>\>
- [Obertix](https://www.obertix.net):
- Vicent Cubells
- Ammar Officewala \<<[email protected]>\>
8 changes: 0 additions & 8 deletions account_brand/readme/CONTRIBUTORS.rst

This file was deleted.

1 change: 1 addition & 0 deletions account_brand/readme/CREDITS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Open Source Integrators \<<https://www.opensourceintegrators.com>\>
1 change: 0 additions & 1 deletion account_brand/readme/CREDITS.rst

This file was deleted.

3 changes: 3 additions & 0 deletions account_brand/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This module allows you to send branded invoices to your customers. It
adds a brand field on the invoice and the brand information to the PDF
report.
3 changes: 0 additions & 3 deletions account_brand/readme/DESCRIPTION.rst

This file was deleted.

6 changes: 6 additions & 0 deletions account_brand/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
To use this module, you need to:

1. Go to Accounting \> Customers \> Invoices
2. Select or create an invoice
3. Enter the information and select the brand
4. Print the PDF report. It includes the information of the brand.
6 changes: 0 additions & 6 deletions account_brand/readme/USAGE.rst

This file was deleted.

10 changes: 5 additions & 5 deletions account_brand/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,9 @@ <h1 class="title">Account Brand</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:6dbc0d8cfac63a97b25a76fe68e37d6fb3505a5d38929edbfbab7bd6bf6bf5ff
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/brand/tree/16.0/account_brand"><img alt="OCA/brand" src="https://img.shields.io/badge/github-OCA%2Fbrand-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/brand-16-0/brand-16-0-account_brand"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/brand&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module allows you to send branded invoices to your customers.
It adds a brand field on the invoice and the brand information to the PDF
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/brand/tree/17.0/account_brand"><img alt="OCA/brand" src="https://img.shields.io/badge/github-OCA%2Fbrand-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/brand-17-0/brand-17-0-account_brand"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/brand&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module allows you to send branded invoices to your customers. It
adds a brand field on the invoice and the brand information to the PDF
report.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
Expand Down Expand Up @@ -408,7 +408,7 @@ <h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/brand/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/brand/issues/new?body=module:%20account_brand%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/brand/issues/new?body=module:%20account_brand%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand Down Expand Up @@ -448,7 +448,7 @@ <h2><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h2>
promote its widespread use.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p>
<p><a class="reference external image-reference" href="https://github.com/osi-scampbell"><img alt="osi-scampbell" src="https://github.com/osi-scampbell.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/sbejaoui"><img alt="sbejaoui" src="https://github.com/sbejaoui.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/brand/tree/16.0/account_brand">OCA/brand</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/brand/tree/17.0/account_brand">OCA/brand</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion account_brand/tests/test_account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def _get_receivable_account(self, move):
).account_id

def test_on_change_partner_id(self):

account = self._get_receivable_account(self.move)
self.assertEqual(account, self.account_receivable)
partner_account_brand = self.env["res.partner.account.brand"].create(
Expand Down
1 change: 0 additions & 1 deletion account_brand/wizards/account_move_reversal.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class AccountMoveReversal(models.TransientModel):

_inherit = "account.move.reversal"

def _prepare_default_reversal(self, move):
Expand Down

0 comments on commit e264c02

Please sign in to comment.