From e828c72b83945fcd4f616bce0a0ce11ed7301a8a Mon Sep 17 00:00:00 2001 From: Sarika Shekhada Date: Thu, 1 Sep 2022 09:57:17 +0000 Subject: [PATCH] [IMP] project_timesheet_holidays: improve demo data timesheet In this commit before, timesheets are not generated for approved time off. So we have entered the timesheet regarding the approved time off. task-2960247 closes odoo/odoo#103071 Signed-off-by: Xavier Bol (xbo) --- addons/project_timesheet_holidays/__manifest__.py | 3 +++ .../data/holiday_timesheets_demo.xml | 14 ++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 addons/project_timesheet_holidays/data/holiday_timesheets_demo.xml diff --git a/addons/project_timesheet_holidays/__manifest__.py b/addons/project_timesheet_holidays/__manifest__.py index 20854168ca7..6ff678d5aab 100644 --- a/addons/project_timesheet_holidays/__manifest__.py +++ b/addons/project_timesheet_holidays/__manifest__.py @@ -20,6 +20,9 @@ on leaves. Project and task can be configured company-wide. 'security/ir.model.access.csv', ], + 'demo': [ + 'data/holiday_timesheets_demo.xml', + ], 'installable': True, 'auto_install': True, 'post_init_hook': 'post_init', diff --git a/addons/project_timesheet_holidays/data/holiday_timesheets_demo.xml b/addons/project_timesheet_holidays/data/holiday_timesheets_demo.xml new file mode 100644 index 00000000000..e7f81104751 --- /dev/null +++ b/addons/project_timesheet_holidays/data/holiday_timesheets_demo.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + +