[FIX] hr_attendance: typo introduced at rev 1c9e8ba077
This commit is contained in:
parent
1c9e8ba077
commit
005282014a
|
@ -61,7 +61,7 @@ class hr_attendance(osv.osv):
|
|||
('employee_id', '=', obj.employee_id.id),
|
||||
('name', '<', obj.name), ('action', '=', 'sign_in')
|
||||
], limit=1, order='name DESC')
|
||||
if last_signin:
|
||||
if last_signin_id:
|
||||
last_signin = self.browse(cr, uid, last_signin_id, context=context)[0]
|
||||
|
||||
# Compute time elapsed between sign-in and sign-out
|
||||
|
|
Loading…
Reference in New Issue