Skip to content

Commit a75cf4e

Browse files
[IMP] maintenance_equipment_contract: pre-commit auto fixes
1 parent 18878de commit a75cf4e

File tree

9 files changed

+30
-27
lines changed

9 files changed

+30
-27
lines changed

maintenance_equipment_contract/README.rst

+11-11
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ Maintenance Equipment Contract
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_equipment_contract
20+
:target: https://github.com/OCA/maintenance/tree/17.0/maintenance_equipment_contract
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_equipment_contract
23+
:target: https://translation.odoo-community.org/projects/maintenance-17-0/maintenance-17-0-maintenance_equipment_contract
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=17.0
2727
:alt: Try me on Runboat
2828

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

31-
This module links maintenance equipment with supplier contracts.
32-
To link an equipment go to the contract's form and add it to the Equipments
31+
This module links maintenance equipment with supplier contracts. To link
32+
an equipment go to the contract's form and add it to the Equipments
3333
field.
3434

3535
**Table of contents**
@@ -43,25 +43,25 @@ Bug Tracker
4343
Bugs are tracked on `GitHub Issues <https://github.com/OCA/maintenance/issues>`_.
4444
In case of trouble, please check there if your issue has already been reported.
4545
If you spotted it first, help us to smash it by providing a detailed and welcomed
46-
`feedback <https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_equipment_contract%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
46+
`feedback <https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_equipment_contract%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
4747

4848
Do not contact contributors directly about support or help with technical issues.
4949

5050
Credits
5151
=======
5252

5353
Authors
54-
~~~~~~~
54+
-------
5555

5656
* Creu Blanca
5757

5858
Contributors
59-
~~~~~~~~~~~~
59+
------------
6060

61-
* Jaime Arroyo <jaime.arroyo@creublanca.es>
61+
- Jaime Arroyo <jaime.arroyo@creublanca.es>
6262

6363
Maintainers
64-
~~~~~~~~~~~
64+
-----------
6565

6666
This module is maintained by the OCA.
6767

@@ -73,6 +73,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
7373
mission is to support the collaborative development of Odoo features and
7474
promote its widespread use.
7575

76-
This module is part of the `OCA/maintenance <https://github.com/OCA/maintenance/tree/16.0/maintenance_equipment_contract>`_ project on GitHub.
76+
This module is part of the `OCA/maintenance <https://github.com/OCA/maintenance/tree/17.0/maintenance_equipment_contract>`_ project on GitHub.
7777

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

maintenance_equipment_contract/models/contract_contract.py

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66

77
class ContractContract(models.Model):
8-
98
_inherit = "contract.contract"
109

1110
equipment_ids = fields.Many2many("maintenance.equipment", string="Equipments")

maintenance_equipment_contract/models/maintenance_equipment.py

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66

77
class MaintenanceEquipment(models.Model):
8-
98
_inherit = "maintenance.equipment"
109

1110
contract_ids = fields.Many2many("contract.contract", string="Contracts")
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+
- Jaime Arroyo \<<jaime.arroyo@creublanca.es>\>

maintenance_equipment_contract/readme/CONTRIBUTORS.rst

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This module links maintenance equipment with supplier contracts. To link
2+
an equipment go to the contract's form and add it to the Equipments
3+
field.

maintenance_equipment_contract/readme/DESCRIPTION.rst

-3
This file was deleted.

maintenance_equipment_contract/static/description/index.html

+12-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<?xml version="1.0" encoding="utf-8"?>
21
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
32
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
43
<head>
@@ -9,10 +8,11 @@
98

109
/*
1110
:Author: David Goodger (goodger@python.org)
12-
: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 $
1312
:Copyright: This stylesheet has been placed in the public domain.
1413
1514
Default cascading style sheet for the HTML output of Docutils.
15+
Despite the name, some widely supported CSS2 features are used.
1616
1717
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1818
customize this style sheet.
@@ -275,7 +275,7 @@
275275
margin-left: 2em ;
276276
margin-right: 2em }
277277

278-
pre.code .ln { color: grey; } /* line numbers */
278+
pre.code .ln { color: gray; } /* line numbers */
279279
pre.code, code { background-color: #eeeeee }
280280
pre.code .comment, code .comment { color: #5C6576 }
281281
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -301,7 +301,7 @@
301301
span.pre {
302302
white-space: pre }
303303

304-
span.problematic {
304+
span.problematic, pre.problematic {
305305
color: red }
306306

307307
span.section-subtitle {
@@ -369,9 +369,9 @@ <h1 class="title">Maintenance Equipment Contract</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:012dbe851daa6bee2ba2641e1d26c43fed20bc878f4faf0d1ea1f2b9d6d5f201
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
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/16.0/maintenance_equipment_contract"><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_equipment_contract"><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>
373-
<p>This module links maintenance equipment with supplier contracts.
374-
To link an equipment go to the contract’s form and add it to the Equipments
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/17.0/maintenance_equipment_contract"><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-17-0/maintenance-17-0-maintenance_equipment_contract"><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=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373+
<p>This module links maintenance equipment with supplier contracts. To link
374+
an equipment go to the contract’s form and add it to the Equipments
375375
field.</p>
376376
<p><strong>Table of contents</strong></p>
377377
<div class="contents local topic" id="contents">
@@ -390,7 +390,7 @@ <h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
390390
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/maintenance/issues">GitHub Issues</a>.
391391
In case of trouble, please check there if your issue has already been reported.
392392
If you spotted it first, help us to smash it by providing a detailed and welcomed
393-
<a class="reference external" href="https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_equipment_contract%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
393+
<a class="reference external" href="https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_equipment_contract%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
394394
<p>Do not contact contributors directly about support or help with technical issues.</p>
395395
</div>
396396
<div class="section" id="credits">
@@ -410,11 +410,13 @@ <h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
410410
<div class="section" id="maintainers">
411411
<h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
412412
<p>This module is maintained by the OCA.</p>
413-
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
413+
<a class="reference external image-reference" href="https://odoo-community.org">
414+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
415+
</a>
414416
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
415417
mission is to support the collaborative development of Odoo features and
416418
promote its widespread use.</p>
417-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/maintenance/tree/16.0/maintenance_equipment_contract">OCA/maintenance</a> project on GitHub.</p>
419+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/maintenance/tree/17.0/maintenance_equipment_contract">OCA/maintenance</a> project on GitHub.</p>
418420
<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>
419421
</div>
420422
</div>

0 commit comments

Comments
 (0)