From 96f773843928a3d868d579379d373e6cad13efde Mon Sep 17 00:00:00 2001 From: Yash Vaishnav Date: Tue, 19 Sep 2023 11:51:44 +0530 Subject: [PATCH] [IMP] hr, hr_hourly_cost: clean up demo data This commit message cleans up the demo data. First of all, it's good to have a good organization model, and secondly, it's important for the demonstration of the org chart view (that will be deployed in 17). In particular, here we: -create a department hierarchy, and assign colors to each department -add the manager to each department task-3510243 closes odoo/odoo#135967 Related: odoo/enterprise#48310 Signed-off-by: Sofie Gvaladze (sgv) --- addons/hr/data/hr_demo.xml | 666 ++++++++++-------- .../data/hr_hourly_cost_demo.xml | 1 - 2 files changed, 358 insertions(+), 309 deletions(-) diff --git a/addons/hr/data/hr_demo.xml b/addons/hr/data/hr_demo.xml index a42f208acc5..70b1f8b60e3 100644 --- a/addons/hr/data/hr_demo.xml +++ b/addons/hr/data/hr_demo.xml @@ -2,31 +2,46 @@ - - Sales - - Management + + + + + + + + + + + Sales + + Research & Development + + R&D USA + Long Term Projects + Professional Services + + @@ -185,113 +200,30 @@ If you have development competencies, we can propose you specific traineeships (237)-125-2389 admin@yourcompany.example.com - + Chief Executive Officer 2010-01-01 00:00:00 - - Ronnie Hart - ronnie.hart87@example.com - + + Jeffrey Kelly + jeffrey.kelly72@example.com + - - Ronnie Hart - - - Chief Technical Officer - + + Jeffrey Kelly + + + + Marketing and Community Manager + - (376)-310-7863 - - - 2010-01-01 00:00:00 - - - - Anita Oliver - (538)-672-3185 - anita.oliver32@example.com - - - - - Anita Oliver - - - - Experienced Developer - - - (538)-672-3185 - anita.oliver00@example.com - - (538)-497-4804 - - - 2010-01-01 00:00:00 - - - - Sharlene Rhodes - sharlene.rhodes49@example.com - - - - - Sharlene Rhodes - - - - Experienced Developer - - - (450)-719-4182 - - - 2010-01-01 00:00:00 - - - - Randall Lewis - randall.lewis74@example.com - - - - - Randall Lewis - - - - Experienced Developer - - - (332)-775-6660 - - - 2010-01-01 00:00:00 - - - - Jennie Fletcher - jennie.fletcher76@example.com - - - - - Jennie Fletcher - - - - Experienced Developer - - - (157)-363-8229 - - + (916)-264-7362 + + 2010-01-01 00:00:00 @@ -313,92 +245,30 @@ If you have development competencies, we can propose you specific traineeshipsdemo@yourcompany.example.com Experienced Developer - + +3281813700 2010-01-01 00:00:00 - - Keith Byrd - keith.byrd52@example.com - + + Ronnie Hart + ronnie.hart87@example.com + - - Keith Byrd + + Ronnie Hart - - - Experienced Developer - + + + Team Leader + - (449)-505-5146 - - - 2010-01-01 00:00:00 - - - - Audrey Peterson - audrey.peterson25@example.com - - - - - Audrey Peterson - - - - Consultant - - - Audrey.peterson2020@example.com - - (203)-276-7903 - - - 2010-01-01 00:00:00 - - - - Toni Jimenez - toni.jimenez23@example.com - - - - - Toni Jimenez - - - - Consultant - - - (663)-707-8451 - - - 2010-01-01 00:00:00 - - - - Jeffrey Kelly - jeffrey.kelly72@example.com - - - - - Jeffrey Kelly - - - - Marketing and Community Manager - - - (916)-264-7362 - - + (376)-310-7863 + + 2010-01-01 00:00:00 @@ -414,7 +284,7 @@ If you have development competencies, we can propose you specific traineeships Human Resources Manager - + (360)-694-7266 @@ -422,135 +292,6 @@ If you have development competencies, we can propose you specific traineeships2010-01-01 00:00:00 - - Walter Horton - walter.horton80@example.com - - - - - Walter Horton - - - Experienced Developer - - (350)-912-1201 - - - 2010-01-01 00:00:00 - - - - Paul Williams - paul.williams59@example.com - - - - - Paul Williams - - - Experienced Developer - - (114)-262-1607 - - - 2010-01-01 00:00:00 - - - Doris Cole - doris.cole31@example.com - - - - - Doris Cole - - - Consultant - - Doris.cole.LoveSong@example.com - - (883)-331-5378 - - - 2010-01-01 00:00:00 - - - - Rachel Perry - jod@odoo.com - - - - - Rachel Perry - - - Marketing and Community Manager - - (206)-267-3735 - - - 2010-01-01 00:00:00 - - - - Beth Evans - beth.evans77@example.com - - - - - Beth Evans - - - Experienced Developer - - beth.evans@example.com - - (754)-532-3841 - - - 2010-01-01 00:00:00 - - - - Ernest Reed - ernest.reed47@example.com - - - - - Ernest Reed - - - Consultant - - (944)-518-8232 - - - 2010-01-01 00:00:00 - - - - Eli Lambert - eli.lambert22@example.com - - - - - Eli Lambert - - - Marketing and Community Manager - - (644)-169-1352 - - - 2010-01-01 00:00:00 - - Abigail Peterson abigail.peterson39@example.com @@ -560,6 +301,7 @@ If you have development competencies, we can propose you specific traineeships Abigail Peterson + Consultant @@ -571,5 +313,313 @@ If you have development competencies, we can propose you specific traineeships2010-01-01 00:00:00 married + + + Audrey Peterson + audrey.peterson25@example.com + + + + + Audrey Peterson + + + + Consultant + + + Audrey.peterson2020@example.com + + (203)-276-7903 + + + 2010-01-01 00:00:00 + + + + Eli Lambert + eli.lambert22@example.com + + + + + Eli Lambert + + + + Marketing and Community Manager + + (644)-169-1352 + + + 2010-01-01 00:00:00 + + + + Rachel Perry + jod@odoo.com + + + + + Rachel Perry + + + + Marketing and Community Manager + + (206)-267-3735 + + + 2010-01-01 00:00:00 + + + + Keith Byrd + keith.byrd52@example.com + + + + + Keith Byrd + + + + Experienced Developer + + + (449)-505-5146 + + + 2010-01-01 00:00:00 + + + + Doris Cole + doris.cole31@example.com + + + + + Doris Cole + + + + Consultant + + Doris.cole.LoveSong@example.com + + (883)-331-5378 + + + 2010-01-01 00:00:00 + + + + Ernest Reed + ernest.reed47@example.com + + + + + Ernest Reed + + + + Consultant + + (944)-518-8232 + + + 2010-01-01 00:00:00 + + + + Toni Jimenez + toni.jimenez23@example.com + + + + + Toni Jimenez + + + + Consultant + + + (663)-707-8451 + + + 2010-01-01 00:00:00 + + + + Anita Oliver + (538)-672-3185 + anita.oliver32@example.com + + + + + Anita Oliver + + + + Experienced Developer + + + (538)-672-3185 + anita.oliver00@example.com + + (538)-497-4804 + + + 2010-01-01 00:00:00 + + + + Sharlene Rhodes + sharlene.rhodes49@example.com + + + + + Sharlene Rhodes + + + + Experienced Developer + + + (450)-719-4182 + + + 2010-01-01 00:00:00 + + + + Randall Lewis + randall.lewis74@example.com + + + + + Randall Lewis + + + + Experienced Developer + + + (332)-775-6660 + + + 2010-01-01 00:00:00 + + + + Jennie Fletcher + jennie.fletcher76@example.com + + + + + Jennie Fletcher + + + + Experienced Developer + + + (157)-363-8229 + + + 2010-01-01 00:00:00 + + + + Paul Williams + paul.williams59@example.com + + + + + Paul Williams + + + + Experienced Developer + + (114)-262-1607 + + + 2010-01-01 00:00:00 + + + + Walter Horton + walter.horton80@example.com + + + + + Walter Horton + + + + Experienced Developer + + (350)-912-1201 + + + 2010-01-01 00:00:00 + + + + Beth Evans + beth.evans77@example.com + + + + + Beth Evans + + + + Experienced Developer + + beth.evans@example.com + + (754)-532-3841 + + + 2010-01-01 00:00:00 + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/hr_hourly_cost/data/hr_hourly_cost_demo.xml b/addons/hr_hourly_cost/data/hr_hourly_cost_demo.xml index b5acd41536d..c95923035ce 100644 --- a/addons/hr_hourly_cost/data/hr_hourly_cost_demo.xml +++ b/addons/hr_hourly_cost/data/hr_hourly_cost_demo.xml @@ -67,7 +67,6 @@ 75 -