From 6a045cc54a6dc34fe66260869eb8ae5ac898eef3 Mon Sep 17 00:00:00 2001
From: JasminSForgeFlow
Date: Fri, 24 May 2024 17:32:42 +0530
Subject: [PATCH] [MIG] hr_holidays_summary_email: Migration to 16.0
---
hr_holidays_summary_email/README.rst | 10 +++++-----
hr_holidays_summary_email/__manifest__.py | 2 +-
.../static/description/index.html | 18 ++++++++++--------
.../tests/test_hr_leave_summary_email.py | 2 +-
4 files changed, 17 insertions(+), 15 deletions(-)
diff --git a/hr_holidays_summary_email/README.rst b/hr_holidays_summary_email/README.rst
index d7c5f6a9..6e85521b 100644
--- a/hr_holidays_summary_email/README.rst
+++ b/hr_holidays_summary_email/README.rst
@@ -17,13 +17,13 @@ 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/15.0/hr_holidays_summary_email
+ :target: https://github.com/OCA/hr-holidays/tree/16.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-15-0/hr-holidays-15-0-hr_holidays_summary_email
+ :target: https://translation.odoo-community.org/projects/hr-holidays-16-0/hr-holidays-16-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=15.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/hr-holidays&target_branch=16.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -55,7 +55,7 @@ Bug Tracker
Bugs are tracked on `GitHub 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 `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -95,6 +95,6 @@ Current `maintainer `__:
|maintainer-JordiMForgeFlow|
-This module is part of the `OCA/hr-holidays `_ project on GitHub.
+This module is part of the `OCA/hr-holidays `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/hr_holidays_summary_email/__manifest__.py b/hr_holidays_summary_email/__manifest__.py
index facc635c..029f1ecb 100644
--- a/hr_holidays_summary_email/__manifest__.py
+++ b/hr_holidays_summary_email/__manifest__.py
@@ -6,7 +6,7 @@
"summary": """
Notify employees with daily or weekly leaves summaries of their company.
""",
- "version": "15.0.1.0.0",
+ "version": "16.0.1.0.0",
"category": "Human Resources",
"website": "https://github.com/OCA/hr-holidays",
"author": "ForgeFlow, Odoo Community Association (OCA)",
diff --git a/hr_holidays_summary_email/static/description/index.html b/hr_holidays_summary_email/static/description/index.html
index c4ec7e48..38e92bee 100644
--- a/hr_holidays_summary_email/static/description/index.html
+++ b/hr_holidays_summary_email/static/description/index.html
@@ -1,4 +1,3 @@
-
@@ -9,10 +8,11 @@
/*
:Author: David Goodger (goodger@python.org)
-:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
+:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
+Despite the name, some widely supported CSS2 features are used.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
@@ -275,7 +275,7 @@
margin-left: 2em ;
margin-right: 2em }
-pre.code .ln { color: grey; } /* line numbers */
+pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -301,7 +301,7 @@
span.pre {
white-space: pre }
-span.problematic {
+span.problematic, pre.problematic {
color: red }
span.section-subtitle {
@@ -369,7 +369,7 @@ Holidays Summary Email
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f1265d7ee3d6a0e55298f1e6c7e6d29492327378e1ebde255497ef87ac4b3dd9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
![Try me on Runboat](https://img.shields.io/badge/runboat-Try%20me-875A7B.png)
+
![Try me on Runboat](https://img.shields.io/badge/runboat-Try%20me-875A7B.png)
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
@@ -402,7 +402,7 @@
Bugs are tracked on GitHub 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.
+feedback.
Do not contact contributors directly about support or help with technical issues.
@@ -428,13 +428,15 @@
This module is maintained by the OCA.
-
![Odoo Community Association](https://odoo-community.org/logo.png)
+
+
+
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
Current maintainer:
![JordiMForgeFlow](https://github.com/JordiMForgeFlow.png?size=40px)
-
This module is part of the OCA/hr-holidays project on GitHub.
+
This module is part of the OCA/hr-holidays project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/hr_holidays_summary_email/tests/test_hr_leave_summary_email.py b/hr_holidays_summary_email/tests/test_hr_leave_summary_email.py
index b1052a65..d3ed75c2 100644
--- a/hr_holidays_summary_email/tests/test_hr_leave_summary_email.py
+++ b/hr_holidays_summary_email/tests/test_hr_leave_summary_email.py
@@ -7,7 +7,7 @@
from odoo.tests import common
-class TestHrLeaveSummaryEmail(common.SavepointCase):
+class TestHrLeaveSummaryEmail(common.TransactionCase):
@classmethod
def setUpClass(cls):
super().setUpClass()