Skip to content

Commit 20f9956

Browse files
[IMP] maintenance_purchase: pre-commit auto fixes
1 parent ee7207a commit 20f9956

File tree

10 files changed

+24
-27
lines changed

10 files changed

+24
-27
lines changed

maintenance_purchase/README.rst

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Maintenance Purchase
33
====================
44

5-
..
5+
..
66
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
77
!! This file is generated by oca-gen-addon-readme !!
88
!! changes will be overwritten. !!
@@ -17,13 +17,13 @@ Maintenance Purchase
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_purchase
20+
:target: https://github.com/OCA/maintenance/tree/18.0/maintenance_purchase
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_purchase
23+
:target: https://translation.odoo-community.org/projects/maintenance-18-0/maintenance-18-0-maintenance_purchase
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|
@@ -41,26 +41,25 @@ Bug Tracker
4141
Bugs are tracked on `GitHub Issues <https://github.com/OCA/maintenance/issues>`_.
4242
In case of trouble, please check there if your issue has already been reported.
4343
If you spotted it first, help us to smash it by providing a detailed and welcomed
44-
`feedback <https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_purchase%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
44+
`feedback <https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_purchase%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
4545

4646
Do not contact contributors directly about support or help with technical issues.
4747

4848
Credits
4949
=======
5050

5151
Authors
52-
~~~~~~~
52+
-------
5353

5454
* CreuBlanca
5555

5656
Contributors
57-
~~~~~~~~~~~~
57+
------------
5858

59-
* Enric Tobella
60-
* Laurent Stukkens
59+
- Enric Tobella
6160

6261
Maintainers
63-
~~~~~~~~~~~
62+
-----------
6463

6564
This module is maintained by the OCA.
6665

@@ -72,6 +71,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
7271
mission is to support the collaborative development of Odoo features and
7372
promote its widespread use.
7473

75-
This module is part of the `OCA/maintenance <https://github.com/OCA/maintenance/tree/16.0/maintenance_purchase>`_ project on GitHub.
74+
This module is part of the `OCA/maintenance <https://github.com/OCA/maintenance/tree/18.0/maintenance_purchase>`_ project on GitHub.
7675

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

maintenance_purchase/models/maintenance_equipment.py

Lines changed: 0 additions & 1 deletion
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
purchase_id = fields.Many2one(

maintenance_purchase/models/purchase_order.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66

77
class PurchaseOrder(models.Model):
8-
98
_inherit = "purchase.order"
109

1110
equipment_count = fields.Integer(compute="_compute_equipment_count")
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Enric Tobella

maintenance_purchase/readme/CONTRIBUTORS.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

maintenance_purchase/static/description/index.html

Lines changed: 10 additions & 8 deletions
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,7 +369,7 @@ <h1 class="title">Maintenance Purchase</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:9b4e0b44d941b38aadf91a2912f84cf907a7e32f5e5573d36779fd044fa0f7f9
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_purchase"><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_purchase"><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><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_purchase"><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_purchase"><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>
373373
<p>Create Equipments when the purchase is validated.</p>
374374
<p><strong>Table of contents</strong></p>
375375
<div class="contents local topic" id="contents">
@@ -388,7 +388,7 @@ <h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
388388
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/maintenance/issues">GitHub Issues</a>.
389389
In case of trouble, please check there if your issue has already been reported.
390390
If you spotted it first, help us to smash it by providing a detailed and welcomed
391-
<a class="reference external" href="https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_purchase%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
391+
<a class="reference external" href="https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_purchase%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
392392
<p>Do not contact contributors directly about support or help with technical issues.</p>
393393
</div>
394394
<div class="section" id="credits">
@@ -408,11 +408,13 @@ <h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
408408
<div class="section" id="maintainers">
409409
<h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
410410
<p>This module is maintained by the OCA.</p>
411-
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
411+
<a class="reference external image-reference" href="https://odoo-community.org">
412+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
413+
</a>
412414
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
413415
mission is to support the collaborative development of Odoo features and
414416
promote its widespread use.</p>
415-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/maintenance/tree/16.0/maintenance_purchase">OCA/maintenance</a> project on GitHub.</p>
417+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/maintenance/tree/18.0/maintenance_purchase">OCA/maintenance</a> project on GitHub.</p>
416418
<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>
417419
</div>
418420
</div>

maintenance_purchase/views/maintenance_equipment.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@
1212
</xpath>
1313
</field>
1414
</record>
15-
1615
</odoo>

maintenance_purchase/views/purchase_order.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<!-- Copyright 2022 CreuBlanca
33
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
44
<odoo>
5-
65
<record model="ir.ui.view" id="purchase_order_form_view">
76
<field name="name">purchase.order.form (in maintenance_purchase)</field>
87
<field name="model">purchase.order</field>
@@ -31,7 +30,4 @@
3130
</xpath>
3231
</field>
3332
</record>
34-
35-
36-
3733
</odoo>

0 commit comments

Comments
 (0)