Skip to content

Commit

Permalink
[IMP] hr_holidays_summary_email: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPForgeFlow committed Jan 28, 2025
1 parent 2e86a96 commit 359c7a7
Show file tree
Hide file tree
Showing 9 changed files with 53 additions and 42 deletions.
37 changes: 20 additions & 17 deletions hr_holidays_summary_email/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,20 @@ Holidays Summary Email
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr--holidays-lightgray.png?logo=github
:target: https://github.com/OCA/hr-holidays/tree/16.0/hr_holidays_summary_email
:target: https://github.com/OCA/hr-holidays/tree/17.0/hr_holidays_summary_email
:alt: OCA/hr-holidays
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/hr-holidays-16-0/hr-holidays-16-0-hr_holidays_summary_email
:target: https://translation.odoo-community.org/projects/hr-holidays-17-0/hr-holidays-17-0-hr_holidays_summary_email
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/hr-holidays&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/hr-holidays&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows sending a daily/weekly email to employees with a summary
of the leaves on that period of other employees in the same company.
This module allows sending a daily/weekly email to employees with a
summary of the leaves on that period of other employees in the same
company.

**Table of contents**

Expand All @@ -39,43 +40,45 @@ of the leaves on that period of other employees in the same company.
Usage
=====

For each employee, three options can be selected for the Leave Summary Email
configuration:
For each employee, three options can be selected for the Leave Summary
Email configuration:

- No: No email with the leaves summary is sent to the employee.
- Daily: A daily email with the leaves summary is sent to the employee.
- Weekly: A weekly email with the leaves summary is sent to the employee.
- Weekly: A weekly email with the leaves summary is sent to the
employee.

For the weekly email, the setting `Leave Weekly Summary Day of Week` allows
setting the day of the week in which the email is sent.
For the weekly email, the setting Leave Weekly Summary Day of Week
allows setting the day of the week in which the email is sent.

Bug Tracker
===========

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

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

Credits
=======

Authors
~~~~~~~
-------

* ForgeFlow

Contributors
~~~~~~~~~~~~
------------

* ForgeFlow <http://www.forgeflow.com>
- ForgeFlow
<`http://www.forgeflow.com\\> <http://www.forgeflow.com\>>`__

* Jordi Masvidal
- Jordi Masvidal

Maintainers
~~~~~~~~~~~
-----------

This module is maintained by the OCA.

Expand All @@ -95,6 +98,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-JordiMForgeFlow|

This module is part of the `OCA/hr-holidays <https://github.com/OCA/hr-holidays/tree/16.0/hr_holidays_summary_email>`_ project on GitHub.
This module is part of the `OCA/hr-holidays <https://github.com/OCA/hr-holidays/tree/17.0/hr_holidays_summary_email>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions hr_holidays_summary_email/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
3 changes: 3 additions & 0 deletions hr_holidays_summary_email/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- ForgeFlow \<http://www.forgeflow.com\>

> - Jordi Masvidal
3 changes: 0 additions & 3 deletions hr_holidays_summary_email/readme/CONTRIBUTORS.rst

This file was deleted.

3 changes: 3 additions & 0 deletions hr_holidays_summary_email/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This module allows sending a daily/weekly email to employees with a
summary of the leaves on that period of other employees in the same
company.
2 changes: 0 additions & 2 deletions hr_holidays_summary_email/readme/DESCRIPTION.rst

This file was deleted.

10 changes: 10 additions & 0 deletions hr_holidays_summary_email/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
For each employee, three options can be selected for the Leave Summary
Email configuration:

- No: No email with the leaves summary is sent to the employee.
- Daily: A daily email with the leaves summary is sent to the employee.
- Weekly: A weekly email with the leaves summary is sent to the
employee.

For the weekly email, the setting Leave Weekly Summary Day of Week
allows setting the day of the week in which the email is sent.
9 changes: 0 additions & 9 deletions hr_holidays_summary_email/readme/USAGE.rst

This file was deleted.

25 changes: 14 additions & 11 deletions hr_holidays_summary_email/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,10 @@ <h1 class="title">Holidays Summary Email</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b07b8a34ea45e8afe8f4f1b4dbd8b5cca645ec333ddffb8a2fbb3b17285a5f53
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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_summary_email"><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_summary_email"><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>
<p>This module allows sending a daily/weekly email to employees with a summary
of the leaves on that period of other employees in the same company.</p>
<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/17.0/hr_holidays_summary_email"><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-17-0/hr-holidays-17-0-hr_holidays_summary_email"><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=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module allows sending a daily/weekly email to employees with a
summary of the leaves on that period of other employees in the same
company.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -387,22 +388,23 @@ <h1 class="title">Holidays Summary Email</h1>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<p>For each employee, three options can be selected for the Leave Summary Email
configuration:</p>
<p>For each employee, three options can be selected for the Leave Summary
Email configuration:</p>
<ul class="simple">
<li>No: No email with the leaves summary is sent to the employee.</li>
<li>Daily: A daily email with the leaves summary is sent to the employee.</li>
<li>Weekly: A weekly email with the leaves summary is sent to the employee.</li>
<li>Weekly: A weekly email with the leaves summary is sent to the
employee.</li>
</ul>
<p>For the weekly email, the setting <cite>Leave Weekly Summary Day of Week</cite> allows
setting the day of the week in which the email is sent.</p>
<p>For the weekly email, the setting Leave Weekly Summary Day of Week
allows setting the day of the week in which the email is sent.</p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/hr-holidays/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/hr-holidays/issues/new?body=module:%20hr_holidays_summary_email%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/hr-holidays/issues/new?body=module:%20hr_holidays_summary_email%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand All @@ -416,7 +418,8 @@ <h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
<ul>
<li><p class="first">ForgeFlow &lt;<a class="reference external" href="http://www.forgeflow.com">http://www.forgeflow.com</a>&gt;</p>
<li><p class="first">ForgeFlow
&lt;<a class="reference external" href="http://www.forgeflow.com&gt;">http://www.forgeflow.com\&gt;</a></p>
<blockquote>
<ul class="simple">
<li>Jordi Masvidal</li>
Expand All @@ -436,7 +439,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
promote its widespread use.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
<p><a class="reference external image-reference" href="https://github.com/JordiMForgeFlow"><img alt="JordiMForgeFlow" src="https://github.com/JordiMForgeFlow.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/hr-holidays/tree/16.0/hr_holidays_summary_email">OCA/hr-holidays</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/hr-holidays/tree/17.0/hr_holidays_summary_email">OCA/hr-holidays</a> project on GitHub.</p>
<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>
</div>
</div>
Expand Down

0 comments on commit 359c7a7

Please sign in to comment.