Skip to content

Commit

Permalink
[IMP] account_payment_unece: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-via committed Mar 2, 2024
1 parent 3743b23 commit c5e2be1
Show file tree
Hide file tree
Showing 9 changed files with 74 additions and 56 deletions.
53 changes: 29 additions & 24 deletions account_payment_unece/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,33 @@ Account Payment UNECE
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcommunity--data--files-lightgray.png?logo=github
:target: https://github.com/OCA/community-data-files/tree/16.0/account_payment_unece
:target: https://github.com/OCA/community-data-files/tree/17.0/account_payment_unece
:alt: OCA/community-data-files
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/community-data-files-16-0/community-data-files-16-0-account_payment_unece
:target: https://translation.odoo-community.org/projects/community-data-files-17-0/community-data-files-17-0-account_payment_unece
: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/community-data-files&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/community-data-files&target_branch=17.0
:alt: Try me on Runboat

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

This module adds a field *UNECE Payment Mean* on *Payment Methods* to be able
to use a standard written by the
`United Nations Economic Commission for Europe <http://www.unece.org>`_ (which
has 56 members states in Europe, America and Central Asia, cf
`Wikipedia <https://en.wikipedia.org/wiki/United_Nations_Economic_Commission_for_Europe>`_).
This module adds a field *UNECE Payment Mean* on *Payment Methods* to be
able to use a standard written by the `United Nations Economic
Commission for Europe <http://www.unece.org>`__ (which has 56 members
states in Europe, America and Central Asia, cf
`Wikipedia <https://en.wikipedia.org/wiki/United_Nations_Economic_Commission_for_Europe>`__).
This standard define a codification of the payment modes, cf the
`official code list <http://www.unece.org/trade/untdid/d99b/tred/tred4461.htm>`_.
`official code
list <http://www.unece.org/trade/untdid/d99b/tred/tred4461.htm>`__.

This codification is used for example in the two main international standards
for electronic invoicing:
This codification is used for example in the two main international
standards for electronic invoicing:

* `Cross Industry Invoice <http://tfig.unece.org/contents/cross-industry-invoice-cii.htm>`_ (CII),
* `Universal Business Language <http://ubl.xml.org/>`_ (UBL)
- `Cross Industry
Invoice <http://tfig.unece.org/contents/cross-industry-invoice-cii.htm>`__
(CII),
- `Universal Business Language <http://ubl.xml.org/>`__ (UBL)

**Table of contents**

Expand All @@ -50,37 +53,39 @@ for electronic invoicing:
Configuration
=============

#. Go to the menu *Accounting > Configuration > Management > Payment Methods*
#. On each payment method, select the appropriate value for the *UNECE Code*.
1. Go to the menu *Accounting > Configuration > Management > Payment
Methods*
2. On each payment method, select the appropriate value for the *UNECE
Code*.

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

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

* Akretion

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

* Alexis de Lattre <alexis.delattre@akretion.com>
* Andrea Stirpe <a.stirpe@onestein.nl>
* Levent Karakaş
* Pedro M. Baeza
- Alexis de Lattre <alexis.delattre@akretion.com>
- Andrea Stirpe <a.stirpe@onestein.nl>
- Levent Karakaş
- Pedro M. Baeza

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

This module is maintained by the OCA.

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

|maintainer-alexis-via|

This module is part of the `OCA/community-data-files <https://github.com/OCA/community-data-files/tree/16.0/account_payment_unece>`_ project on GitHub.
This module is part of the `OCA/community-data-files <https://github.com/OCA/community-data-files/tree/17.0/account_payment_unece>`_ 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_payment_unece/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
4 changes: 4 additions & 0 deletions account_payment_unece/readme/CONFIGURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
1. Go to the menu *Accounting \> Configuration \> Management \> Payment
Methods*
2. On each payment method, select the appropriate value for the *UNECE
Code*.
2 changes: 0 additions & 2 deletions account_payment_unece/readme/CONFIGURE.rst

This file was deleted.

4 changes: 4 additions & 0 deletions account_payment_unece/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Alexis de Lattre \<<alexis.delattre@akretion.com>\>
- Andrea Stirpe \<<a.stirpe@onestein.nl>\>
- Levent Karakaş
- Pedro M. Baeza
4 changes: 0 additions & 4 deletions account_payment_unece/readme/CONTRIBUTORS.rst

This file was deleted.

16 changes: 16 additions & 0 deletions account_payment_unece/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
This module adds a field *UNECE Payment Mean* on *Payment Methods* to be
able to use a standard written by the [United Nations Economic
Commission for Europe](http://www.unece.org) (which has 56 members
states in Europe, America and Central Asia, cf
[Wikipedia](https://en.wikipedia.org/wiki/United_Nations_Economic_Commission_for_Europe)).
This standard define a codification of the payment modes, cf the
[official code
list](http://www.unece.org/trade/untdid/d99b/tred/tred4461.htm).

This codification is used for example in the two main international
standards for electronic invoicing:

- [Cross Industry
Invoice](http://tfig.unece.org/contents/cross-industry-invoice-cii.htm)
(CII),
- [Universal Business Language](http://ubl.xml.org/) (UBL)
13 changes: 0 additions & 13 deletions account_payment_unece/readme/DESCRIPTION.rst

This file was deleted.

31 changes: 18 additions & 13 deletions account_payment_unece/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,18 +369,21 @@ <h1 class="title">Account Payment UNECE</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:e306b402530ab9b373d16393bf5f1ea157f039c66ceeabe351ce9ae348f5842b
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/community-data-files/tree/16.0/account_payment_unece"><img alt="OCA/community-data-files" src="https://img.shields.io/badge/github-OCA%2Fcommunity--data--files-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/community-data-files-16-0/community-data-files-16-0-account_payment_unece"><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/community-data-files&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 field <em>UNECE Payment Mean</em> on <em>Payment Methods</em> to be able
to use a standard written by the
<a class="reference external" href="http://www.unece.org">United Nations Economic Commission for Europe</a> (which
has 56 members states in Europe, America and Central Asia, cf
<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/community-data-files/tree/17.0/account_payment_unece"><img alt="OCA/community-data-files" src="https://img.shields.io/badge/github-OCA%2Fcommunity--data--files-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/community-data-files-17-0/community-data-files-17-0-account_payment_unece"><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/community-data-files&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 field <em>UNECE Payment Mean</em> on <em>Payment Methods</em> to be
able to use a standard written by the <a class="reference external" href="http://www.unece.org">United Nations Economic
Commission for Europe</a> (which has 56 members
states in Europe, America and Central Asia, cf
<a class="reference external" href="https://en.wikipedia.org/wiki/United_Nations_Economic_Commission_for_Europe">Wikipedia</a>).
This standard define a codification of the payment modes, cf the
<a class="reference external" href="http://www.unece.org/trade/untdid/d99b/tred/tred4461.htm">official code list</a>.</p>
<p>This codification is used for example in the two main international standards
for electronic invoicing:</p>
<a class="reference external" href="http://www.unece.org/trade/untdid/d99b/tred/tred4461.htm">official code
list</a>.</p>
<p>This codification is used for example in the two main international
standards for electronic invoicing:</p>
<ul class="simple">
<li><a class="reference external" href="http://tfig.unece.org/contents/cross-industry-invoice-cii.htm">Cross Industry Invoice</a> (CII),</li>
<li><a class="reference external" href="http://tfig.unece.org/contents/cross-industry-invoice-cii.htm">Cross Industry
Invoice</a>
(CII),</li>
<li><a class="reference external" href="http://ubl.xml.org/">Universal Business Language</a> (UBL)</li>
</ul>
<p><strong>Table of contents</strong></p>
Expand All @@ -399,16 +402,18 @@ <h1 class="title">Account Payment UNECE</h1>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<ol class="arabic simple">
<li>Go to the menu <em>Accounting &gt; Configuration &gt; Management &gt; Payment Methods</em></li>
<li>On each payment method, select the appropriate value for the <em>UNECE Code</em>.</li>
<li>Go to the menu <em>Accounting &gt; Configuration &gt; Management &gt; Payment
Methods</em></li>
<li>On each payment method, select the appropriate value for the <em>UNECE
Code</em>.</li>
</ol>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/community-data-files/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/community-data-files/issues/new?body=module:%20account_payment_unece%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/community-data-files/issues/new?body=module:%20account_payment_unece%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 @@ -437,7 +442,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
promote its widespread use.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
<p><a class="reference external image-reference" href="https://github.com/alexis-via"><img alt="alexis-via" src="https://github.com/alexis-via.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/community-data-files/tree/16.0/account_payment_unece">OCA/community-data-files</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/community-data-files/tree/17.0/account_payment_unece">OCA/community-data-files</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

0 comments on commit c5e2be1

Please sign in to comment.