Skip to content

Commit 7a0e35a

Browse files
[IMP] maintenance_account: pre-commit auto fixes
1 parent 541c85e commit 7a0e35a

File tree

8 files changed

+59
-44
lines changed

8 files changed

+59
-44
lines changed

maintenance_account/README.rst

+22-19
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,19 @@ Maintenance Account
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%2Fmaintenance-lightgray.png?logo=github
20-
:target: https://github.com/OCA/maintenance/tree/16.0/maintenance_account
20+
:target: https://github.com/OCA/maintenance/tree/18.0/maintenance_account
2121
:alt: OCA/maintenance
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/maintenance-16-0/maintenance-16-0-maintenance_account
23+
:target: https://translation.odoo-community.org/projects/maintenance-18-0/maintenance-18-0-maintenance_account
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/maintenance&target_branch=16.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/maintenance&target_branch=18.0
2727
:alt: Try me on Runboat
2828

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

31-
This module automatically creates the equipment when validating the purchase invoices.
31+
This module automatically creates the equipment when validating the
32+
purchase invoices.
3233

3334
**Table of contents**
3435

@@ -40,42 +41,44 @@ Usage
4041

4142
To use this module, you need to:
4243

43-
* Go to *Invoicing > Vendor > Bills* and create a new one with any product with the "Can be Maintenance" field checked.
44-
* Confirm the invoice.
45-
* A new equipment category linked to the product line has been created (if the product category did not already have one linked).
46-
* A smart-button is displayed with the equipments created (as many equipments as the quantity of product lines are created).
44+
- Go to *Invoicing > Vendor > Bills* and create a new one with any
45+
product with the "Can be Maintenance" field checked.
46+
- Confirm the invoice.
47+
- A new equipment category linked to the product line has been created
48+
(if the product category did not already have one linked).
49+
- A smart-button is displayed with the equipments created (as many
50+
equipments as the quantity of product lines are created).
4751

4852
Bug Tracker
4953
===========
5054

5155
Bugs are tracked on `GitHub Issues <https://github.com/OCA/maintenance/issues>`_.
5256
In case of trouble, please check there if your issue has already been reported.
5357
If you spotted it first, help us to smash it by providing a detailed and welcomed
54-
`feedback <https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_account%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
58+
`feedback <https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_account%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
5559

5660
Do not contact contributors directly about support or help with technical issues.
5761

5862
Credits
5963
=======
6064

6165
Authors
62-
~~~~~~~
66+
-------
6367

6468
* Tecnativa
6569

6670
Contributors
67-
~~~~~~~~~~~~
71+
------------
6872

69-
* César Fernández Domínguez <cesfernandez@outlook.com>
73+
- César Fernández Domínguez <cesfernandez@outlook.com>
74+
- `Tecnativa <https://www.tecnativa.com>`__:
7075

71-
* `Tecnativa <https://www.tecnativa.com>`_:
72-
73-
* Víctor Martínez
74-
* Pedro M. Baeza
75-
* Carolina Fernandez
76+
- Víctor Martínez
77+
- Pedro M. Baeza
78+
- Carolina Fernandez
7679

7780
Maintainers
78-
~~~~~~~~~~~
81+
-----------
7982

8083
This module is maintained by the OCA.
8184

@@ -95,6 +98,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
9598

9699
|maintainer-victoralmau|
97100

98-
This module is part of the `OCA/maintenance <https://github.com/OCA/maintenance/tree/16.0/maintenance_account>`_ project on GitHub.
101+
This module is part of the `OCA/maintenance <https://github.com/OCA/maintenance/tree/18.0/maintenance_account>`_ project on GitHub.
99102

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

maintenance_account/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,5 @@
1+
- César Fernández Domínguez \<<cesfernandez@outlook.com>\>
2+
- [Tecnativa](https://www.tecnativa.com):
3+
- Víctor Martínez
4+
- Pedro M. Baeza
5+
- Carolina Fernandez

maintenance_account/readme/CONTRIBUTORS.rst

-7
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
This module automatically creates the equipment when validating the purchase invoices.
1+
This module automatically creates the equipment when validating the
2+
purchase invoices.

maintenance_account/readme/USAGE.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
To use this module, you need to:
2+
3+
- Go to *Invoicing \> Vendor \> Bills* and create a new one with any
4+
product with the "Can be Maintenance" field checked.
5+
- Confirm the invoice.
6+
- A new equipment category linked to the product line has been created
7+
(if the product category did not already have one linked).
8+
- A smart-button is displayed with the equipments created (as many
9+
equipments as the quantity of product lines are created).

maintenance_account/readme/USAGE.rst

-6
This file was deleted.

maintenance_account/static/description/index.html

+18-11
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88

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

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

303-
span.problematic {
304+
span.problematic, pre.problematic {
304305
color: red }
305306

306307
span.section-subtitle {
@@ -368,8 +369,9 @@ <h1 class="title">Maintenance Account</h1>
368369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369370
!! source digest: sha256:4ea4d1ebecd2ebd0575d12df83833d26aa1b2f612897206ceec4f4aaa8382059
370371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371-
<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/maintenance/tree/16.0/maintenance_account"><img alt="OCA/maintenance" src="https://img.shields.io/badge/github-OCA%2Fmaintenance-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/maintenance-16-0/maintenance-16-0-maintenance_account"><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/maintenance&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372-
<p>This module automatically creates the equipment when validating the purchase invoices.</p>
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/maintenance/tree/18.0/maintenance_account"><img alt="OCA/maintenance" src="https://img.shields.io/badge/github-OCA%2Fmaintenance-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/maintenance-18-0/maintenance-18-0-maintenance_account"><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/maintenance&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373+
<p>This module automatically creates the equipment when validating the
374+
purchase invoices.</p>
373375
<p><strong>Table of contents</strong></p>
374376
<div class="contents local topic" id="contents">
375377
<ul class="simple">
@@ -387,18 +389,21 @@ <h1 class="title">Maintenance Account</h1>
387389
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
388390
<p>To use this module, you need to:</p>
389391
<ul class="simple">
390-
<li>Go to <em>Invoicing &gt; Vendor &gt; Bills</em> and create a new one with any product with the “Can be Maintenance” field checked.</li>
392+
<li>Go to <em>Invoicing &gt; Vendor &gt; Bills</em> and create a new one with any
393+
product with the “Can be Maintenance” field checked.</li>
391394
<li>Confirm the invoice.</li>
392-
<li>A new equipment category linked to the product line has been created (if the product category did not already have one linked).</li>
393-
<li>A smart-button is displayed with the equipments created (as many equipments as the quantity of product lines are created).</li>
395+
<li>A new equipment category linked to the product line has been created
396+
(if the product category did not already have one linked).</li>
397+
<li>A smart-button is displayed with the equipments created (as many
398+
equipments as the quantity of product lines are created).</li>
394399
</ul>
395400
</div>
396401
<div class="section" id="bug-tracker">
397402
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
398403
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/maintenance/issues">GitHub Issues</a>.
399404
In case of trouble, please check there if your issue has already been reported.
400405
If you spotted it first, help us to smash it by providing a detailed and welcomed
401-
<a class="reference external" href="https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_account%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
406+
<a class="reference external" href="https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_account%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
402407
<p>Do not contact contributors directly about support or help with technical issues.</p>
403408
</div>
404409
<div class="section" id="credits">
@@ -424,13 +429,15 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
424429
<div class="section" id="maintainers">
425430
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
426431
<p>This module is maintained by the OCA.</p>
427-
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
432+
<a class="reference external image-reference" href="https://odoo-community.org">
433+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
434+
</a>
428435
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
429436
mission is to support the collaborative development of Odoo features and
430437
promote its widespread use.</p>
431438
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
432439
<p><a class="reference external image-reference" href="https://github.com/victoralmau"><img alt="victoralmau" src="https://github.com/victoralmau.png?size=40px" /></a></p>
433-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/maintenance/tree/16.0/maintenance_account">OCA/maintenance</a> project on GitHub.</p>
440+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/maintenance/tree/18.0/maintenance_account">OCA/maintenance</a> project on GitHub.</p>
434441
<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>
435442
</div>
436443
</div>

0 commit comments

Comments
 (0)