Skip to content

Commit 72c93c8

Browse files
[IMP] l10n_fi_payment_terms: pre-commit auto fixes
1 parent c829c89 commit 72c93c8

14 files changed

+94
-76
lines changed

l10n_fi_payment_terms/README.rst

+32-25
Original file line numberDiff line numberDiff line change
@@ -17,79 +17,86 @@ Finnish Payment Terms
1717
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1818
:alt: License: AGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--finland-lightgray.png?logo=github
20-
:target: https://github.com/OCA/l10n-finland/tree/14.0/l10n_fi_payment_terms
20+
:target: https://github.com/OCA/l10n-finland/tree/17.0/l10n_fi_payment_terms
2121
:alt: OCA/l10n-finland
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/l10n-finland-14-0/l10n-finland-14-0-l10n_fi_payment_terms
23+
:target: https://translation.odoo-community.org/projects/l10n-finland-17-0/l10n-finland-17-0-l10n_fi_payment_terms
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-finland&target_branch=14.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-finland&target_branch=17.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
3030

3131
Common Finnish invoice payment terms.
3232

33-
* Adds and unique code to terms for easier searching
33+
- Adds and unique code to terms for easier searching
3434

3535
**Added Payment terms**
3636

37-
* IMMEDIATE
38-
* 7 days
39-
* 10 days
40-
* 14 days
41-
* 21 days
42-
* 30 days
43-
* 45 days
44-
* 60 days
45-
* 90 days
37+
- IMMEDIATE
38+
- 7 days
39+
- 10 days
40+
- 14 days
41+
- 21 days
42+
- 30 days
43+
- 45 days
44+
- 60 days
45+
- 90 days
4646

4747
**Table of contents**
4848

4949
.. contents::
5050
:local:
5151

52+
Configuration
53+
=============
54+
55+
56+
5257
Changelog
5358
=========
5459

5560
14.0.1.0.0 (2021-06-04)
56-
~~~~~~~~~~~~~~~~~~~~~~~
57-
* [MIGRATION] from 13.0 to 14.0
61+
-----------------------
62+
63+
- [MIGRATION] from 13.0 to 14.0
5864

5965
Bug Tracker
6066
===========
6167

6268
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-finland/issues>`_.
6369
In case of trouble, please check there if your issue has already been reported.
6470
If you spotted it first, help us to smash it by providing a detailed and welcomed
65-
`feedback <https://github.com/OCA/l10n-finland/issues/new?body=module:%20l10n_fi_payment_terms%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
71+
`feedback <https://github.com/OCA/l10n-finland/issues/new?body=module:%20l10n_fi_payment_terms%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
6672

6773
Do not contact contributors directly about support or help with technical issues.
6874

6975
Credits
7076
=======
7177

7278
Authors
73-
~~~~~~~
79+
-------
7480

7581
* Tawasta
7682

7783
Contributors
78-
~~~~~~~~~~~~
84+
------------
7985

80-
* Jarmo Kortetjärvi <jarmo.kortetjarvi@tawasta.fi>
81-
* Miku Laitinen <miku.laitinen@avoin.systems>
86+
- Jarmo Kortetjärvi <jarmo.kortetjarvi@tawasta.fi>
87+
- Miku Laitinen <miku.laitinen@avoin.systems>
8288

8389
Other credits
84-
~~~~~~~~~~~~~
90+
-------------
8591

8692
Images
87-
------
93+
~~~~~~
8894

89-
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
95+
- Odoo Community Association:
96+
`Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`__.
9097

9198
Maintainers
92-
~~~~~~~~~~~
99+
-----------
93100

94101
This module is maintained by the OCA.
95102

@@ -101,6 +108,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
101108
mission is to support the collaborative development of Odoo features and
102109
promote its widespread use.
103110

104-
This module is part of the `OCA/l10n-finland <https://github.com/OCA/l10n-finland/tree/14.0/l10n_fi_payment_terms>`_ project on GitHub.
111+
This module is part of the `OCA/l10n-finland <https://github.com/OCA/l10n-finland/tree/17.0/l10n_fi_payment_terms>`_ project on GitHub.
105112

106113
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

l10n_fi_payment_terms/models/payment_term.py

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class PaymentTerm(models.Model):
5-
65
_inherit = "account.payment.term"
76

87
code = fields.Char("Unique code")

l10n_fi_payment_terms/pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

l10n_fi_payment_terms/readme/CONFIGURE.rst

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Jarmo Kortetjärvi \<<jarmo.kortetjarvi@tawasta.fi>\>
2+
- Miku Laitinen \<<miku.laitinen@avoin.systems>\>

l10n_fi_payment_terms/readme/CONTRIBUTORS.rst

-2
This file was deleted.
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## Images
2+
3+
- Odoo Community Association:
4+
[Icon](https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg).

l10n_fi_payment_terms/readme/CREDITS.rst

-4
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Common Finnish invoice payment terms.
2+
3+
- Adds and unique code to terms for easier searching
4+
5+
**Added Payment terms**
6+
7+
- IMMEDIATE
8+
- 7 days
9+
- 10 days
10+
- 14 days
11+
- 21 days
12+
- 30 days
13+
- 45 days
14+
- 60 days
15+
- 90 days

l10n_fi_payment_terms/readme/DESCRIPTION.rst

-15
This file was deleted.
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## 14.0.1.0.0 (2021-06-04)
2+
3+
- \[MIGRATION\] from 13.0 to 14.0

l10n_fi_payment_terms/readme/HISTORY.rst

-3
This file was deleted.

l10n_fi_payment_terms/static/description/index.html

+34-26
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99

1010
/*
1111
:Author: David Goodger (goodger@python.org)
12-
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
12+
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
1313
:Copyright: This stylesheet has been placed in the public domain.
1414
1515
Default cascading style sheet for the HTML output of Docutils.
16+
Despite the name, some widely supported CSS2 features are used.
1617
1718
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1819
customize this style sheet.
@@ -275,7 +276,7 @@
275276
margin-left: 2em ;
276277
margin-right: 2em }
277278

278-
pre.code .ln { color: grey; } /* line numbers */
279+
pre.code .ln { color: gray; } /* line numbers */
279280
pre.code, code { background-color: #eeeeee }
280281
pre.code .comment, code .comment { color: #5C6576 }
281282
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -301,7 +302,7 @@
301302
span.pre {
302303
white-space: pre }
303304

304-
span.problematic {
305+
span.problematic, pre.problematic {
305306
color: red }
306307

307308
span.section-subtitle {
@@ -369,7 +370,7 @@ <h1 class="title">Finnish Payment Terms</h1>
369370
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370371
!! source digest: sha256:dd2e2ef492b60d8e0dc0351154673e8fc8b4144b793c74bdc2a67724c6c643a0
371372
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<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/l10n-finland/tree/14.0/l10n_fi_payment_terms"><img alt="OCA/l10n-finland" src="https://img.shields.io/badge/github-OCA%2Fl10n--finland-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/l10n-finland-14-0/l10n-finland-14-0-l10n_fi_payment_terms"><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/l10n-finland&amp;target_branch=14.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373+
<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/l10n-finland/tree/17.0/l10n_fi_payment_terms"><img alt="OCA/l10n-finland" src="https://img.shields.io/badge/github-OCA%2Fl10n--finland-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/l10n-finland-17-0/l10n-finland-17-0-l10n_fi_payment_terms"><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/l10n-finland&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373374
<p>Common Finnish invoice payment terms.</p>
374375
<ul class="simple">
375376
<li>Adds and unique code to terms for easier searching</li>
@@ -389,72 +390,79 @@ <h1 class="title">Finnish Payment Terms</h1>
389390
<p><strong>Table of contents</strong></p>
390391
<div class="contents local topic" id="contents">
391392
<ul class="simple">
392-
<li><a class="reference internal" href="#changelog" id="toc-entry-1">Changelog</a><ul>
393-
<li><a class="reference internal" href="#section-1" id="toc-entry-2">14.0.1.0.0 (2021-06-04)</a></li>
393+
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
394+
<li><a class="reference internal" href="#changelog" id="toc-entry-2">Changelog</a><ul>
395+
<li><a class="reference internal" href="#section-1" id="toc-entry-3">14.0.1.0.0 (2021-06-04)</a></li>
394396
</ul>
395397
</li>
396-
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-3">Bug Tracker</a></li>
397-
<li><a class="reference internal" href="#credits" id="toc-entry-4">Credits</a><ul>
398-
<li><a class="reference internal" href="#authors" id="toc-entry-5">Authors</a></li>
399-
<li><a class="reference internal" href="#contributors" id="toc-entry-6">Contributors</a></li>
400-
<li><a class="reference internal" href="#other-credits" id="toc-entry-7">Other credits</a><ul>
401-
<li><a class="reference internal" href="#images" id="toc-entry-8">Images</a></li>
398+
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-4">Bug Tracker</a></li>
399+
<li><a class="reference internal" href="#credits" id="toc-entry-5">Credits</a><ul>
400+
<li><a class="reference internal" href="#authors" id="toc-entry-6">Authors</a></li>
401+
<li><a class="reference internal" href="#contributors" id="toc-entry-7">Contributors</a></li>
402+
<li><a class="reference internal" href="#other-credits" id="toc-entry-8">Other credits</a><ul>
403+
<li><a class="reference internal" href="#images" id="toc-entry-9">Images</a></li>
402404
</ul>
403405
</li>
404-
<li><a class="reference internal" href="#maintainers" id="toc-entry-9">Maintainers</a></li>
406+
<li><a class="reference internal" href="#maintainers" id="toc-entry-10">Maintainers</a></li>
405407
</ul>
406408
</li>
407409
</ul>
408410
</div>
411+
<div class="section" id="configuration">
412+
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
413+
</div>
409414
<div class="section" id="changelog">
410-
<h1><a class="toc-backref" href="#toc-entry-1">Changelog</a></h1>
415+
<h1><a class="toc-backref" href="#toc-entry-2">Changelog</a></h1>
411416
<div class="section" id="section-1">
412-
<h2><a class="toc-backref" href="#toc-entry-2">14.0.1.0.0 (2021-06-04)</a></h2>
417+
<h2><a class="toc-backref" href="#toc-entry-3">14.0.1.0.0 (2021-06-04)</a></h2>
413418
<ul class="simple">
414419
<li>[MIGRATION] from 13.0 to 14.0</li>
415420
</ul>
416421
</div>
417422
</div>
418423
<div class="section" id="bug-tracker">
419-
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
424+
<h1><a class="toc-backref" href="#toc-entry-4">Bug Tracker</a></h1>
420425
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-finland/issues">GitHub Issues</a>.
421426
In case of trouble, please check there if your issue has already been reported.
422427
If you spotted it first, help us to smash it by providing a detailed and welcomed
423-
<a class="reference external" href="https://github.com/OCA/l10n-finland/issues/new?body=module:%20l10n_fi_payment_terms%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
428+
<a class="reference external" href="https://github.com/OCA/l10n-finland/issues/new?body=module:%20l10n_fi_payment_terms%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
424429
<p>Do not contact contributors directly about support or help with technical issues.</p>
425430
</div>
426431
<div class="section" id="credits">
427-
<h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
432+
<h1><a class="toc-backref" href="#toc-entry-5">Credits</a></h1>
428433
<div class="section" id="authors">
429-
<h2><a class="toc-backref" href="#toc-entry-5">Authors</a></h2>
434+
<h2><a class="toc-backref" href="#toc-entry-6">Authors</a></h2>
430435
<ul class="simple">
431436
<li>Tawasta</li>
432437
</ul>
433438
</div>
434439
<div class="section" id="contributors">
435-
<h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
440+
<h2><a class="toc-backref" href="#toc-entry-7">Contributors</a></h2>
436441
<ul class="simple">
437442
<li>Jarmo Kortetjärvi &lt;<a class="reference external" href="mailto:jarmo.kortetjarvi&#64;tawasta.fi">jarmo.kortetjarvi&#64;tawasta.fi</a>&gt;</li>
438443
<li>Miku Laitinen &lt;<a class="reference external" href="mailto:miku.laitinen&#64;avoin.systems">miku.laitinen&#64;avoin.systems</a>&gt;</li>
439444
</ul>
440445
</div>
441446
<div class="section" id="other-credits">
442-
<h2><a class="toc-backref" href="#toc-entry-7">Other credits</a></h2>
447+
<h2><a class="toc-backref" href="#toc-entry-8">Other credits</a></h2>
443448
<div class="section" id="images">
444-
<h3><a class="toc-backref" href="#toc-entry-8">Images</a></h3>
449+
<h3><a class="toc-backref" href="#toc-entry-9">Images</a></h3>
445450
<ul class="simple">
446-
<li>Odoo Community Association: <a class="reference external" href="https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg">Icon</a>.</li>
451+
<li>Odoo Community Association:
452+
<a class="reference external" href="https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg">Icon</a>.</li>
447453
</ul>
448454
</div>
449455
</div>
450456
<div class="section" id="maintainers">
451-
<h2><a class="toc-backref" href="#toc-entry-9">Maintainers</a></h2>
457+
<h2><a class="toc-backref" href="#toc-entry-10">Maintainers</a></h2>
452458
<p>This module is maintained by the OCA.</p>
453-
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
459+
<a class="reference external image-reference" href="https://odoo-community.org">
460+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
461+
</a>
454462
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
455463
mission is to support the collaborative development of Odoo features and
456464
promote its widespread use.</p>
457-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-finland/tree/14.0/l10n_fi_payment_terms">OCA/l10n-finland</a> project on GitHub.</p>
465+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-finland/tree/17.0/l10n_fi_payment_terms">OCA/l10n-finland</a> project on GitHub.</p>
458466
<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>
459467
</div>
460468
</div>

0 commit comments

Comments
 (0)