[Fix] hr_timesheet: fix the yml

bzr revid: sbh@tinyerp.com-20101222045958-br77qum40o3sblhl
This commit is contained in:
Sbh (OpenERP)
2010-12-22 10:29:58 +05:30
parent bffb6b96c7
commit 15d4d88ee3
@@ -94,7 +94,7 @@
-
!python {model: hr.sign.in.project}: |
uid = ref('test_timesheet_user1')
self.check_state(cr, uid, [ref("hr_employee_fracline1")], {"active_ids": [ref("hr_timesheet.menu_hr_timesheet_sign_in")]})
self.check_state(cr, uid, [ref("hr_employee_fracline1")], {"active_ids": [ref("hr_timesheet.action_hr_timesheet_sign_in")]})
-
I select start date and Perform start work on project.
-
@@ -110,7 +110,7 @@
!python {model: hr.sign.in.project}: |
uid = ref('test_timesheet_user1')
ids = self.search(cr, uid, [('emp_id', '=', ref('hr_employee_fracline1')),('name', '=', 'Francline')])
self.check_state(cr, uid, ids, {"active_ids": [ref("hr_timesheet.menu_hr_timesheet_sign_in")]
self.check_state(cr, uid, ids, {"active_ids": [ref("hr_timesheet.action_hr_timesheet_sign_in")]
})
-