2 Create a user 'HR Manager'
4 !record {model: res.users, id: res_users_hrmanager0, view: False}:
5 company_id: base.main_company
10 - base.group_hr_manager
12 Create a product with type service used to specify employees designation
14 !record {model: product.product, id: product_product_hrmanger0}:
15 categ_id: product.product_category_6
20 uom_id: product.product_uom_hour
21 uom_po_id: product.product_uom_hour
27 Create an analytic journal for employees timesheet
29 !record {model: account.analytic.journal, id: account_analytic_journal_hrtimesheet0}:
30 company_id: base.main_company
34 Create an employee 'HR Manager' for user 'HR Manager'
36 !record {model: hr.employee, id: hr_employee_hrmanager0}:
38 user_id: res_users_hrmanager0
39 product_id: product_product_hrmanger0
40 journal_id: account_analytic_journal_hrtimesheet0
42 Create a project 'Timesheet Management'
44 !record {model: project.project, id: project_project_timesheetmanagement0}:
45 company_id: base.main_company
46 name: Timesheet Management
48 Create a task 'Get all timesheet records'
50 !record {model: project.task, id: project_task_getalltimesheetrecords0}:
51 date_start: !eval time.strftime('%Y-05-%d %H:%M:%S')
52 name: Get all timesheet records
54 project_id: project_project_timesheetmanagement0
56 user_id: res_users_hrmanager0
58 Make a work task entry 'Get work calendar of all employees' of 10 hours done by HR manager
60 !record {model: project.task, id: project_task_getalltimesheetrecords0}:
62 - date: !eval time.strftime('%Y-05-%d %H:%M:%S')
64 name: Get work calendar of all employees
65 user_id: res_users_hrmanager0