[IMP] account_payment_mode: pre-commit auto fixes

This commit is contained in:
Miquel Alzanillas
2023-11-22 11:06:05 +01:00
parent 0b09ce90a3
commit c68b893df7
11 changed files with 40 additions and 33 deletions

View File

@@ -17,19 +17,20 @@ Account Payment Mode
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github
:target: https://github.com/OCA/bank-payment/tree/16.0/account_payment_mode
:target: https://github.com/OCA/bank-payment/tree/17.0/account_payment_mode
:alt: OCA/bank-payment
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_mode
:target: https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_payment_mode
: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/bank-payment&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/bank-payment&target_branch=17.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
This module adds a new object *account.payment.mode*, that is used to better
classify and route incoming/outgoing payment orders with the banks.
This module adds a new object *account.payment.mode*, that is used to
better classify and route incoming/outgoing payment orders with the
banks.
**Table of contents**
@@ -45,7 +46,8 @@ To configure this module, you need to go to the menu
Usage
=====
This module doesn't add any feature, but it is used by several other modules.
This module doesn't add any feature, but it is used by several other
modules.
Bug Tracker
===========
@@ -53,7 +55,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-payment/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/bank-payment/issues/new?body=module:%20account_payment_mode%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/bank-payment/issues/new?body=module:%20account_payment_mode%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.
@@ -61,20 +63,20 @@ Credits
=======
Authors
~~~~~~~
-------
* Akretion
Contributors
~~~~~~~~~~~~
------------
* Alexis de Lattre <alexis.delattre@akretion.com>
* Eric Lembregts <eric@lembregts.eu>
* Andrea Stirpe <a.stirpe@onestein.nl>
* Marçal Isern <marsal.isern@qubiq.es>
- Alexis de Lattre <alexis.delattre@akretion.com>
- Eric Lembregts <eric@lembregts.eu>
- Andrea Stirpe <a.stirpe@onestein.nl>
- Marçal Isern <marsal.isern@qubiq.es>
Maintainers
~~~~~~~~~~~
-----------
This module is maintained by the OCA.
@@ -86,6 +88,6 @@ 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.
This module is part of the `OCA/bank-payment <https://github.com/OCA/bank-payment/tree/16.0/account_payment_mode>`_ project on GitHub.
This module is part of the `OCA/bank-payment <https://github.com/OCA/bank-payment/tree/17.0/account_payment_mode>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@@ -32,9 +32,7 @@ class AccountPaymentMethod(models.Model):
result.append(
(
method.id,
"[{}] {} ({})".format(
method.code, method.name, method.payment_type
),
f"[{method.code}] {method.name} ({method.payment_type})",
)
)
return result

View File

@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"

View File

@@ -0,0 +1,2 @@
To configure this module, you need to go to the menu
*Invoicing/Accounting \> Configuration \> Management \> Payment Modes*.

View File

@@ -1,2 +0,0 @@
To configure this module, you need to go to the menu
*Invoicing/Accounting > Configuration > Management > Payment Modes*.

View File

@@ -0,0 +1,4 @@
- Alexis de Lattre \<<alexis.delattre@akretion.com>\>
- Eric Lembregts \<<eric@lembregts.eu>\>
- Andrea Stirpe \<<a.stirpe@onestein.nl>\>
- Marçal Isern \<<marsal.isern@qubiq.es>\>

View File

@@ -1,4 +0,0 @@
* Alexis de Lattre <alexis.delattre@akretion.com>
* Eric Lembregts <eric@lembregts.eu>
* Andrea Stirpe <a.stirpe@onestein.nl>
* Marçal Isern <marsal.isern@qubiq.es>

View File

@@ -0,0 +1,3 @@
This module adds a new object *account.payment.mode*, that is used to
better classify and route incoming/outgoing payment orders with the
banks.

View File

@@ -1,2 +0,0 @@
This module adds a new object *account.payment.mode*, that is used to better
classify and route incoming/outgoing payment orders with the banks.

View File

@@ -1 +1,2 @@
This module doesn't add any feature, but it is used by several other modules.
This module doesn't add any feature, but it is used by several other
modules.

View File

@@ -369,9 +369,10 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:06c4606949d3a75e51dcc0d0866ee9908f5c1d89c82d17ec823b3df9145b8f4c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.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/bank-payment/tree/16.0/account_payment_mode"><img alt="OCA/bank-payment" src="https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_mode"><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/bank-payment&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 adds a new object <em>account.payment.mode</em>, that is used to better
classify and route incoming/outgoing payment orders with the banks.</p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.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/bank-payment/tree/17.0/account_payment_mode"><img alt="OCA/bank-payment" src="https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_payment_mode"><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/bank-payment&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 adds a new object <em>account.payment.mode</em>, that is used to
better classify and route incoming/outgoing payment orders with the
banks.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
@@ -393,14 +394,15 @@ classify and route incoming/outgoing payment orders with the banks.</p>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
<p>This module doesnt add any feature, but it is used by several other modules.</p>
<p>This module doesnt add any feature, but it is used by several other
modules.</p>
</div>
<div class="section" id="bug-tracker">
<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/bank-payment/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/bank-payment/issues/new?body=module:%20account_payment_mode%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/bank-payment/issues/new?body=module:%20account_payment_mode%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">
@@ -427,7 +429,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/bank-payment/tree/16.0/account_payment_mode">OCA/bank-payment</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/bank-payment/tree/17.0/account_payment_mode">OCA/bank-payment</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>