Skip to content

Commit 5564e49

Browse files
committed
[IMP] hr_leave_date_to_custom_hour: pre-commit auto fixes
1 parent edfad19 commit 5564e49

6 files changed

Lines changed: 30 additions & 22 deletions

File tree

hr_leave_date_to_custom_hour/README.rst

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,22 @@ Date to for custom hours
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_leave_date_to_custom_hour
20+
:target: https://github.com/OCA/hr-holidays/tree/18.0/hr_leave_date_to_custom_hour
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_leave_date_to_custom_hour
23+
:target: https://translation.odoo-community.org/projects/hr-holidays-18-0/hr-holidays-18-0-hr_leave_date_to_custom_hour
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-
This module allows to specify an end date when creating a leave with custom hours.
31+
This module allows to specify an end date when creating a leave with
32+
custom hours.
3233

33-
This is useful when the user wants to take a leave from 10 AM of Monday to 3 PM on Tuesday, or when night shifts are involved.
34+
This is useful when the user wants to take a leave from 10 AM of Monday
35+
to 3 PM on Tuesday, or when night shifts are involved.
3436

3537
**Table of contents**
3638

@@ -43,27 +45,27 @@ Bug Tracker
4345
Bugs are tracked on `GitHub Issues <https://github.com/OCA/hr-holidays/issues>`_.
4446
In case of trouble, please check there if your issue has already been reported.
4547
If you spotted it first, help us to smash it by providing a detailed and welcomed
46-
`feedback <https://github.com/OCA/hr-holidays/issues/new?body=module:%20hr_leave_date_to_custom_hour%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
48+
`feedback <https://github.com/OCA/hr-holidays/issues/new?body=module:%20hr_leave_date_to_custom_hour%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
4749

4850
Do not contact contributors directly about support or help with technical issues.
4951

5052
Credits
5153
=======
5254

5355
Authors
54-
~~~~~~~
56+
-------
5557

5658
* PyTech
5759

5860
Contributors
59-
~~~~~~~~~~~~
61+
------------
6062

61-
* `PyTech <https://www.pytech.it>`_:
63+
- `PyTech <https://www.pytech.it>`__:
6264

63-
* Simone Rubino <simone.rubino@pytech.it>
65+
- Simone Rubino <simone.rubino@pytech.it>
6466

6567
Maintainers
66-
~~~~~~~~~~~
68+
-----------
6769

6870
This module is maintained by the OCA.
6971

@@ -75,6 +77,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
7577
mission is to support the collaborative development of Odoo features and
7678
promote its widespread use.
7779

78-
This module is part of the `OCA/hr-holidays <https://github.com/OCA/hr-holidays/tree/16.0/hr_leave_date_to_custom_hour>`_ project on GitHub.
80+
This module is part of the `OCA/hr-holidays <https://github.com/OCA/hr-holidays/tree/18.0/hr_leave_date_to_custom_hour>`_ project on GitHub.
7981

8082
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+
- [PyTech](https://www.pytech.it):
2+
- Simone Rubino \<simone.rubino@pytech.it\>

hr_leave_date_to_custom_hour/readme/CONTRIBUTORS.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
This module allows to specify an end date when creating a leave with custom hours.
1+
This module allows to specify an end date when creating a leave with
2+
custom hours.
23

3-
This is useful when the user wants to take a leave from 10 AM of Monday to 3 PM on Tuesday, or when night shifts are involved.
4+
This is useful when the user wants to take a leave from 10 AM of Monday
5+
to 3 PM on Tuesday, or when night shifts are involved.

hr_leave_date_to_custom_hour/static/description/index.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -369,9 +369,11 @@ <h1 class="title">Date to for custom hours</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:00e668430c75e1e621fb5d6e405c70976c13bc899dc031358f0c6883319c75b3
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_leave_date_to_custom_hour"><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_leave_date_to_custom_hour"><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>This module allows to specify an end date when creating a leave with custom hours.</p>
374-
<p>This is useful when the user wants to take a leave from 10 AM of Monday to 3 PM on Tuesday, or when night shifts are involved.</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_leave_date_to_custom_hour"><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_leave_date_to_custom_hour"><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>This module allows to specify an end date when creating a leave with
374+
custom hours.</p>
375+
<p>This is useful when the user wants to take a leave from 10 AM of Monday
376+
to 3 PM on Tuesday, or when night shifts are involved.</p>
375377
<p><strong>Table of contents</strong></p>
376378
<div class="contents local topic" id="contents">
377379
<ul class="simple">
@@ -389,7 +391,7 @@ <h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
389391
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/hr-holidays/issues">GitHub Issues</a>.
390392
In case of trouble, please check there if your issue has already been reported.
391393
If you spotted it first, help us to smash it by providing a detailed and welcomed
392-
<a class="reference external" href="https://github.com/OCA/hr-holidays/issues/new?body=module:%20hr_leave_date_to_custom_hour%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
394+
<a class="reference external" href="https://github.com/OCA/hr-holidays/issues/new?body=module:%20hr_leave_date_to_custom_hour%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
393395
<p>Do not contact contributors directly about support or help with technical issues.</p>
394396
</div>
395397
<div class="section" id="credits">
@@ -418,7 +420,7 @@ <h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
418420
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
419421
mission is to support the collaborative development of Odoo features and
420422
promote its widespread use.</p>
421-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/hr-holidays/tree/16.0/hr_leave_date_to_custom_hour">OCA/hr-holidays</a> project on GitHub.</p>
423+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/hr-holidays/tree/18.0/hr_leave_date_to_custom_hour">OCA/hr-holidays</a> project on GitHub.</p>
422424
<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>
423425
</div>
424426
</div>

0 commit comments

Comments
 (0)