From 0312e68bc3680652322fa1ef5a0849f8a30e7601 Mon Sep 17 00:00:00 2001 From: Vo Minh Thu Date: Wed, 31 Aug 2011 11:07:24 +0200 Subject: [PATCH] [FIX] project_timesheet test: have a happy runbot, every day. bzr revid: vmt@openerp.com-20110831090724-iiqbhgsg25v2t113 --- .../test/worktask_entry_to_timesheetline_entry.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/project_timesheet/test/worktask_entry_to_timesheetline_entry.yml b/addons/project_timesheet/test/worktask_entry_to_timesheetline_entry.yml index 4cf790c4e2b..f524c214821 100644 --- a/addons/project_timesheet/test/worktask_entry_to_timesheetline_entry.yml +++ b/addons/project_timesheet/test/worktask_entry_to_timesheetline_entry.yml @@ -50,9 +50,9 @@ Create a timesheet sheet for HR manager - !record {model: hr_timesheet_sheet.sheet, id: hr_timesheet_sheet_sheet_sheetforhrmanager0}: - date_current: !eval time.strftime('%Y-06-%d') - date_from: !eval "'%s-06-01' %(datetime.now().year)" - date_to: !eval "'%s-06-30' %(datetime.now().year)" + date_current: !eval time.strftime('%Y-05-%d') + date_from: !eval "'%s-05-01' %(datetime.now().year)" + date_to: !eval "'%s-05-31' %(datetime.now().year)" name: Sheet for hr manager state: new user_id: res_users_hrmanager0 @@ -70,7 +70,7 @@ Create a task 'Get all timesheet records' - !record {model: project.task, id: project_task_getalltimesheetrecords0}: - date_start: !eval time.strftime('%Y-06-%d %H:%M:%S') + date_start: !eval time.strftime('%Y-05-%d %H:%M:%S') name: Get all timesheet records planned_hours: 20.0 project_id: project_project_timesheetmanagement0 @@ -92,7 +92,7 @@ - !record {model: project.task, id: project_task_getalltimesheetrecords0}: work_ids: - - date: !eval time.strftime('%Y-06-%d %H:%M:%S') + - date: !eval time.strftime('%Y-05-%d %H:%M:%S') hours: 10.0 name: Get work calendar of all employees user_id: res_users_hrmanager0