[FIX] hr_timesheet_sheet: fix incorrect datetime computation in test

bzr revid: rco@openerp.com-20120110083450-58txqb3phhax4yut
This commit is contained in:
Raphael Collet 2012-01-10 09:34:50 +01:00
parent 422763d435
commit 76882d565d
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@
!record {model: hr.attendance, id: hr_attendance_1}:
action: sign_out
employee_id: 'hr.employee_qdp'
name: !eval time.strftime('%Y-%m-%d')+' '+'%s:%s:%s' %(min(23,datetime.now().hour+8),min(59,datetime.now().minute+1),min(59,datetime.now().second+1))
name: !eval (datetime.now() + timedelta(hours=8.25)).strftime('%Y-%m-%d %H:%M:%S')
-
I create Timesheet Entry for time spend on today work.
-