From 863713b5bd57c88c660f0b1cd91f50b7557fd3d4 Mon Sep 17 00:00:00 2001 From: jbm-odoo Date: Tue, 6 Nov 2018 09:35:35 +0000 Subject: [PATCH] [IMP] hr_holidays: add demo data The module lacks demo data to have a nice visual display when testing the application Add allocation requests and leaves request for several employees TaskID: 1906478 --- addons/hr/data/hr_demo.xml | 4 +- addons/hr_holidays/data/hr_holidays_demo.xml | 514 ++++++++++++++++++- 2 files changed, 502 insertions(+), 16 deletions(-) diff --git a/addons/hr/data/hr_demo.xml b/addons/hr/data/hr_demo.xml index 853ce9f2c72..6a57335ad97 100644 --- a/addons/hr/data/hr_demo.xml +++ b/addons/hr/data/hr_demo.xml @@ -170,7 +170,7 @@ If you have development competencies, we can propose you specific traineeships Sharlene Rhodes - + @@ -289,7 +289,7 @@ If you have development competencies, we can propose you specific traineeships Paul Williams - + Building 1, Second Floor (114)-262-1607 diff --git a/addons/hr_holidays/data/hr_holidays_demo.xml b/addons/hr_holidays/data/hr_holidays_demo.xml index c28ed7bc6fe..4bc8f560b55 100644 --- a/addons/hr_holidays/data/hr_holidays_demo.xml +++ b/addons/hr_holidays/data/hr_holidays_demo.xml @@ -2,12 +2,11 @@ + Overtime Compensation fixed_allocation blue - - hour @@ -18,6 +17,15 @@ both + + Team Building + no + lightblue + manager + + + + fixed @@ -26,15 +34,37 @@ - - Legal Leaves for Peter Parker + + + + + + + + 1 + company + + + + + + + + + + + + Legal Leaves for Mitchell Admin 20 confirm - + International Tour 7 @@ -42,41 +72,42 @@ confirm - + Overtime Compensation 20 - + Summer Vacation 7 - + - + + Trip with Family @@ -85,7 +116,7 @@ - + Doctor Appointment @@ -99,9 +130,464 @@ + + + + Legal Leaves for Ronnie Hart + + 20 + + confirm + + + + Parental Leaves + + 10 + + + + + Summer Vacation + + 12 + + + + + + + + + + + + + + + + + Trip with Friends + + + + 6 + + + + + Dentist appointment + + + + 3 + + confirm + + + + + + + + + + + + + + + Legal Leaves for Anita Oliver + + 20 + + confirm + + + + Overtime Compensation + + 5 + + + + + Summer Vacation + + 7 + + + + + + + + + + + + + + Trip to Paris + + + + 7 + + + + + Trip + + + + 3 + + + + + Sleeping day + + + + 3 + + confirm + + + + + + + + + + + + + + Legal Leaves for Gilles Gravie + + 20 + + confirm + + + + Overtime Compensation + + 5 + + + + + Summer Vacation + + 7 + + + + + + + + + + + + + + Sick day + + + + 3 + + confirm + + + + Sick day + + + + 1 + + confirm + + + + + + + + + + + + + + Legal Leaves for Audrey Peterson + + 20 + + confirm + + + + International Tour + + 8 + + confirm + + + + Overtime Compensation + + 10 + + + + + Summer Vacation + + 7 + + + + + + + + + + + + + + + + + Trip to NY + + + + 3 + + confirm + + + Trip to Barcelona + + + + 3 + + confirm + + + + Home working + + + + 8 + + + + + + + + + + + + + + + + + + + + Legal Leaves for Olivia + + 20 + + confirm + + + + Overtime Compensation + + 10 + + + + + Summer Vacation + + 5 + + + + + + + + + + + + + + + + + Trip to London + + + + 8 + + confirm + + + + Doctor Appointment + + + + 2 + + confirm + + + + + + + + + + + + Legal Leaves for Kim + + 20 + + confirm + + + + Overtime Compensation + + 10 + + + + + Summer Vacation + + 5 + + + + + + Dentist appointment + + + + 1 + + confirm + + + + Second dentist appointment + + + + 1 + + confirm + +