projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c9e8ba
)
[FIX] hr_attendance: typo introduced at rev 1c9e8ba077b296ec9c334800915fbbf76c81310c
author
Richard Mathot
<rim@openerp.com>
Tue, 22 Jul 2014 08:03:16 +0000
(10:03 +0200)
committer
Richard Mathot
<rim@openerp.com>
Tue, 22 Jul 2014 08:03:16 +0000
(10:03 +0200)
addons/hr_attendance/hr_attendance.py
patch
|
blob
|
history
diff --git
a/addons/hr_attendance/hr_attendance.py
b/addons/hr_attendance/hr_attendance.py
index
e171c0c
..
ade9192
100644
(file)
--- a/
addons/hr_attendance/hr_attendance.py
+++ b/
addons/hr_attendance/hr_attendance.py
@@
-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