diff --git a/addons/hr_holidays/__manifest__.py b/addons/hr_holidays/__manifest__.py
index ed14ca78a0c..a1908e6aaf8 100644
--- a/addons/hr_holidays/__manifest__.py
+++ b/addons/hr_holidays/__manifest__.py
@@ -28,6 +28,7 @@ A synchronization with an internal agenda (Meetings of the CRM module) is also p
'data': [
'data/report_paperformat.xml',
'data/hr_holidays_data.xml',
+ 'data/mail_data.xml',
'security/hr_holidays_security.xml',
'security/ir.model.access.csv',
diff --git a/addons/hr_holidays/data/hr_holidays_data.xml b/addons/hr_holidays/data/hr_holidays_data.xml
index 7213fdd66a4..a08a0eddb3d 100644
--- a/addons/hr_holidays/data/hr_holidays_data.xml
+++ b/addons/hr_holidays/data/hr_holidays_data.xml
@@ -33,133 +33,5 @@
brown
-
-
-
- Confirmed
- hr.leave
- Request created and waiting confirmation
-
-
-
- Waiting Second Validation
- hr.leave
-
- Request validated, waiting second validation
-
-
-
- Approved
- hr.leave
- Request approved
-
-
-
- Refused
- hr.leave
-
- Request refused
-
-
-
-
- Confirmed
- hr.leave.allocation
- Request created and waiting confirmation
-
-
-
- Waiting Second Validation
- hr.leave.allocation
-
- Request validated, waiting second validation
-
-
-
- Approved
- hr.leave.allocation
- Request approved
-
-
-
- Refused
- hr.leave.allocation
-
- Request refused
-
-
-
-
- Leaves Confirmed
- hr.department
-
-
- department_id
-
-
-
-
- Leaves First Approval
- hr.department
-
-
- department_id
-
-
-
-
- Leaves Approved
- hr.department
-
-
- department_id
-
-
-
-
- Leaves Refused
- hr.department
-
-
- department_id
-
-
-
-
- Allocations Confirmed
- hr.department
-
-
- department_id
-
-
-
-
- Allocations First Approval
- hr.department
-
-
- department_id
-
-
-
-
- Allocation Approved
- hr.department
-
-
- department_id
-
-
-
-
- Allocation Refused
- hr.department
-
-
- department_id
-
-
-
diff --git a/addons/hr_holidays/data/mail_data.xml b/addons/hr_holidays/data/mail_data.xml
new file mode 100644
index 00000000000..57c92f06581
--- /dev/null
+++ b/addons/hr_holidays/data/mail_data.xml
@@ -0,0 +1,132 @@
+
+
+
+
+
+ Confirmed
+ hr.leave
+ Request created and waiting confirmation
+
+
+
+ Waiting Second Validation
+ hr.leave
+
+ Request validated, waiting second validation
+
+
+
+ Approved
+ hr.leave
+ Request approved
+
+
+
+ Refused
+ hr.leave
+
+ Request refused
+
+
+
+
+ Confirmed
+ hr.leave.allocation
+ Request created and waiting confirmation
+
+
+
+ Waiting Second Validation
+ hr.leave.allocation
+
+ Request validated, waiting second validation
+
+
+
+ Approved
+ hr.leave.allocation
+ Request approved
+
+
+
+ Refused
+ hr.leave.allocation
+
+ Request refused
+
+
+
+
+ Leaves Confirmed
+ hr.department
+
+
+ department_id
+
+
+
+
+ Leaves First Approval
+ hr.department
+
+
+ department_id
+
+
+
+
+ Leaves Approved
+ hr.department
+
+
+ department_id
+
+
+
+
+ Leaves Refused
+ hr.department
+
+
+ department_id
+
+
+
+
+ Allocations Confirmed
+ hr.department
+
+
+ department_id
+
+
+
+
+ Allocations First Approval
+ hr.department
+
+
+ department_id
+
+
+
+
+ Allocation Approved
+ hr.department
+
+
+ department_id
+
+
+
+
+ Allocation Refused
+ hr.department
+
+
+ department_id
+
+
+
+
+
\ No newline at end of file