Skip to content

Commit 536447a

Browse files
[IMP] maintenance_project: pre-commit auto fixes
1 parent 1b1e49d commit 536447a

File tree

8 files changed

+50
-28
lines changed

8 files changed

+50
-28
lines changed

maintenance_project/README.rst

+19-13
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,29 @@ Maintenance Projects
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_project
20+
:target: https://github.com/OCA/maintenance/tree/18.0/maintenance_project
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_project
23+
:target: https://translation.odoo-community.org/projects/maintenance-18-0/maintenance-18-0-maintenance_project
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 extends the functionality of Odoo Maintenance module adding this features:
31+
This module extends the functionality of Odoo Maintenance module adding
32+
this features:
3233

33-
- Adds a project to an equipment. You can link an existing project or create a new one (with the Create project button) after creating the equipment.
34-
- Adds project and task to a maintenance request. The default project for a request will be the equipment one, including the preventive requests periodically created.
34+
- Adds a project to an equipment. You can link an existing project or
35+
create a new one (with the Create project button) after creating the
36+
equipment.
37+
- Adds project and task to a maintenance request. The default project
38+
for a request will be the equipment one, including the preventive
39+
requests periodically created.
3540

36-
This is is a technical addon to allow timesheet assignment to a maintenance request.
41+
This is is a technical addon to allow timesheet assignment to a
42+
maintenance request.
3743

3844
**Table of contents**
3945

@@ -46,25 +52,25 @@ Bug Tracker
4652
Bugs are tracked on `GitHub Issues <https://github.com/OCA/maintenance/issues>`_.
4753
In case of trouble, please check there if your issue has already been reported.
4854
If you spotted it first, help us to smash it by providing a detailed and welcomed
49-
`feedback <https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_project%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
55+
`feedback <https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_project%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
5056

5157
Do not contact contributors directly about support or help with technical issues.
5258

5359
Credits
5460
=======
5561

5662
Authors
57-
~~~~~~~
63+
-------
5864

5965
* Solvos
6066

6167
Contributors
62-
~~~~~~~~~~~~
68+
------------
6369

64-
* David Alonso <david.alonso@solvos.es>
70+
- David Alonso <david.alonso@solvos.es>
6571

6672
Maintainers
67-
~~~~~~~~~~~
73+
-----------
6874

6975
This module is maintained by the OCA.
7076

@@ -76,6 +82,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
7682
mission is to support the collaborative development of Odoo features and
7783
promote its widespread use.
7884

79-
This module is part of the `OCA/maintenance <https://github.com/OCA/maintenance/tree/16.0/maintenance_project>`_ project on GitHub.
85+
This module is part of the `OCA/maintenance <https://github.com/OCA/maintenance/tree/18.0/maintenance_project>`_ project on GitHub.
8086

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

maintenance_project/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+
- David Alonso \<<david.alonso@solvos.es>\>

maintenance_project/readme/CONTRIBUTORS.rst

-1
This file was deleted.
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
This module extends the functionality of Odoo Maintenance module adding
2+
this features:
3+
4+
- Adds a project to an equipment. You can link an existing project or
5+
create a new one (with the Create project button) after creating the
6+
equipment.
7+
- Adds project and task to a maintenance request. The default project
8+
for a request will be the equipment one, including the preventive
9+
requests periodically created.
10+
11+
This is is a technical addon to allow timesheet assignment to a
12+
maintenance request.

maintenance_project/readme/DESCRIPTION.rst

-6
This file was deleted.

maintenance_project/static/description/index.html

+13-7
Original file line numberDiff line numberDiff line change
@@ -369,13 +369,19 @@ <h1 class="title">Maintenance Projects</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:d68a0f7d567eafa344eb212be0520f6c37c4dccc3ec106ebad8884fa57af3fa9
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_project"><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_project"><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 extends the functionality of Odoo Maintenance module adding this features:</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_project"><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_project"><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 extends the functionality of Odoo Maintenance module adding
374+
this features:</p>
374375
<ul class="simple">
375-
<li>Adds a project to an equipment. You can link an existing project or create a new one (with the Create project button) after creating the equipment.</li>
376-
<li>Adds project and task to a maintenance request. The default project for a request will be the equipment one, including the preventive requests periodically created.</li>
376+
<li>Adds a project to an equipment. You can link an existing project or
377+
create a new one (with the Create project button) after creating the
378+
equipment.</li>
379+
<li>Adds project and task to a maintenance request. The default project
380+
for a request will be the equipment one, including the preventive
381+
requests periodically created.</li>
377382
</ul>
378-
<p>This is is a technical addon to allow timesheet assignment to a maintenance request.</p>
383+
<p>This is is a technical addon to allow timesheet assignment to a
384+
maintenance request.</p>
379385
<p><strong>Table of contents</strong></p>
380386
<div class="contents local topic" id="contents">
381387
<ul class="simple">
@@ -393,7 +399,7 @@ <h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
393399
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/maintenance/issues">GitHub Issues</a>.
394400
In case of trouble, please check there if your issue has already been reported.
395401
If you spotted it first, help us to smash it by providing a detailed and welcomed
396-
<a class="reference external" href="https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_project%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
402+
<a class="reference external" href="https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_project%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
397403
<p>Do not contact contributors directly about support or help with technical issues.</p>
398404
</div>
399405
<div class="section" id="credits">
@@ -419,7 +425,7 @@ <h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
419425
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
420426
mission is to support the collaborative development of Odoo features and
421427
promote its widespread use.</p>
422-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/maintenance/tree/16.0/maintenance_project">OCA/maintenance</a> project on GitHub.</p>
428+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/maintenance/tree/18.0/maintenance_project">OCA/maintenance</a> project on GitHub.</p>
423429
<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>
424430
</div>
425431
</div>

maintenance_project/views/maintenance_equipment_views.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@
5555
class="oe_link"
5656
attrs="{'invisible': ['|', ('id', '=', False),('project_id', '!=', False)]}"
5757
>
58-
<span class="fa fa-plus" /><span> Create project</span>
58+
<span class="fa fa-plus" />
59+
<span> Create project</span>
5960
</button>
6061
</div>
6162
</xpath>

0 commit comments

Comments
 (0)