Skip to content

Commit 65dd05a

Browse files
[IMP] hr_holidays_auto_extend: pre-commit auto fixes
1 parent bab2bbb commit 65dd05a

10 files changed

Lines changed: 46 additions & 39 deletions

File tree

hr_holidays_auto_extend/README.rst

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,22 @@ Hr Holidays Auto Extend
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%2Fhr--holidays-lightgray.png?logo=github
20-
:target: https://github.com/OCA/hr-holidays/tree/16.0/hr_holidays_auto_extend
20+
:target: https://github.com/OCA/hr-holidays/tree/18.0/hr_holidays_auto_extend
2121
:alt: OCA/hr-holidays
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/hr-holidays-16-0/hr-holidays-16-0-hr_holidays_auto_extend
23+
:target: https://translation.odoo-community.org/projects/hr-holidays-18-0/hr-holidays-18-0-hr_holidays_auto_extend
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/hr-holidays&target_branch=16.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/hr-holidays&target_branch=18.0
2727
:alt: Try me on Runboat
2828

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

31-
With this module, we will be able to extend automatically a leave when the period is reached.
31+
With this module, we will be able to extend automatically a leave when
32+
the period is reached.
3233

33-
This might be necessary for leaves without a clear return date for the employee.
34+
This might be necessary for leaves without a clear return date for the
35+
employee.
3436

3537
**Table of contents**
3638

@@ -40,37 +42,39 @@ This might be necessary for leaves without a clear return date for the employee.
4042
Usage
4143
=====
4244

43-
* Access leave types and mark it as "Auto extendable"
44-
* When the manager approves the leave, the "Auto extendable" check will be marked
45-
* When we decide that the leave is no longer extendable, we can uncheck it.
46-
*
45+
- Access leave types and mark it as "Auto extendable"
46+
- When the manager approves the leave, the "Auto extendable" check will
47+
be marked
48+
- When we decide that the leave is no longer extendable, we can uncheck
49+
it.
50+
-
4751

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

5155
Bugs are tracked on `GitHub Issues <https://github.com/OCA/hr-holidays/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/hr-holidays/issues/new?body=module:%20hr_holidays_auto_extend%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
58+
`feedback <https://github.com/OCA/hr-holidays/issues/new?body=module:%20hr_holidays_auto_extend%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
* CreuBlanca
6569

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

69-
* Enric Tobella
70-
*
73+
- Enric Tobella
74+
-
7175

7276
Maintainers
73-
~~~~~~~~~~~
77+
-----------
7478

7579
This module is maintained by the OCA.
7680

@@ -82,6 +86,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
8286
mission is to support the collaborative development of Odoo features and
8387
promote its widespread use.
8488

85-
This module is part of the `OCA/hr-holidays <https://github.com/OCA/hr-holidays/tree/16.0/hr_holidays_auto_extend>`_ project on GitHub.
89+
This module is part of the `OCA/hr-holidays <https://github.com/OCA/hr-holidays/tree/18.0/hr_holidays_auto_extend>`_ project on GitHub.
8690

8791
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Enric Tobella
2+
-

hr_holidays_auto_extend/readme/CONTRIBUTORS.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
With this module, we will be able to extend automatically a leave when the period is reached.
1+
With this module, we will be able to extend automatically a leave when
2+
the period is reached.
23

3-
This might be necessary for leaves without a clear return date for the employee.
4+
This might be necessary for leaves without a clear return date for the
5+
employee.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
- Access leave types and mark it as "Auto extendable"
2+
- When the manager approves the leave, the "Auto extendable" check will
3+
be marked
4+
- When we decide that the leave is no longer extendable, we can uncheck
5+
it.
6+
-

hr_holidays_auto_extend/readme/USAGE.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.

hr_holidays_auto_extend/static/description/index.html

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -369,9 +369,11 @@ <h1 class="title">Hr Holidays Auto Extend</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:2dafee4a3991d3964d524741982c494a6fd618441aaed65bc9889b8e895627c5
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/hr-holidays/tree/16.0/hr_holidays_auto_extend"><img alt="OCA/hr-holidays" src="https://img.shields.io/badge/github-OCA%2Fhr--holidays-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/hr-holidays-16-0/hr-holidays-16-0-hr_holidays_auto_extend"><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/hr-holidays&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>With this module, we will be able to extend automatically a leave when the period is reached.</p>
374-
<p>This might be necessary for leaves without a clear return date for the employee.</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/hr-holidays/tree/18.0/hr_holidays_auto_extend"><img alt="OCA/hr-holidays" src="https://img.shields.io/badge/github-OCA%2Fhr--holidays-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/hr-holidays-18-0/hr-holidays-18-0-hr_holidays_auto_extend"><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/hr-holidays&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>With this module, we will be able to extend automatically a leave when
374+
the period is reached.</p>
375+
<p>This might be necessary for leaves without a clear return date for the
376+
employee.</p>
375377
<p><strong>Table of contents</strong></p>
376378
<div class="contents local topic" id="contents">
377379
<ul class="simple">
@@ -389,8 +391,10 @@ <h1 class="title">Hr Holidays Auto Extend</h1>
389391
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
390392
<ul class="simple">
391393
<li>Access leave types and mark it as “Auto extendable”</li>
392-
<li>When the manager approves the leave, the “Auto extendable” check will be marked</li>
393-
<li>When we decide that the leave is no longer extendable, we can uncheck it.</li>
394+
<li>When the manager approves the leave, the “Auto extendable” check will
395+
be marked</li>
396+
<li>When we decide that the leave is no longer extendable, we can uncheck
397+
it.</li>
394398
<li></li>
395399
</ul>
396400
</div>
@@ -399,7 +403,7 @@ <h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
399403
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/hr-holidays/issues">GitHub Issues</a>.
400404
In case of trouble, please check there if your issue has already been reported.
401405
If you spotted it first, help us to smash it by providing a detailed and welcomed
402-
<a class="reference external" href="https://github.com/OCA/hr-holidays/issues/new?body=module:%20hr_holidays_auto_extend%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/hr-holidays/issues/new?body=module:%20hr_holidays_auto_extend%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
403407
<p>Do not contact contributors directly about support or help with technical issues.</p>
404408
</div>
405409
<div class="section" id="credits">
@@ -426,7 +430,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
426430
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
427431
mission is to support the collaborative development of Odoo features and
428432
promote its widespread use.</p>
429-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/hr-holidays/tree/16.0/hr_holidays_auto_extend">OCA/hr-holidays</a> project on GitHub.</p>
433+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/hr-holidays/tree/18.0/hr_holidays_auto_extend">OCA/hr-holidays</a> project on GitHub.</p>
430434
<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>
431435
</div>
432436
</div>

hr_holidays_auto_extend/views/hr_leave.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<!-- Copyright 2023 CreuBlanca
33
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
44
<odoo>
5-
65
<record model="ir.ui.view" id="hr_leave_form_view">
76
<field name="name">hr.leave.form (in hr_holidays_auto_extend)</field>
87
<field name="model">hr.leave</field>
@@ -24,7 +23,4 @@
2423
</field>
2524
</field>
2625
</record>
27-
28-
29-
3026
</odoo>

hr_holidays_auto_extend/views/hr_leave_type.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<!-- Copyright 2023 CreuBlanca
33
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
44
<odoo>
5-
65
<record model="ir.ui.view" id="hr_leave_type_form_view">
76
<field name="name">hr.leave.type.form (in hr_holidays_auto_extend)</field>
87
<field name="model">hr.leave.type</field>
@@ -17,7 +16,4 @@
1716
</field>
1817
</field>
1918
</record>
20-
21-
22-
2319
</odoo>

0 commit comments

Comments
 (0)