[FIX] hr_attendance: fix small during check quality
bzr revid: hmo@tinyerp.com-20100903100903-82pj3xya5b6hmh04
This commit is contained in:
parent
08e46d8073
commit
e4e5d50693
|
@ -98,6 +98,8 @@ class hr_employee(osv.osv):
|
|||
if context is None:
|
||||
context = {}
|
||||
result = {}
|
||||
if not ids:
|
||||
return result
|
||||
for id in ids:
|
||||
result[id] = 'absent'
|
||||
cr.execute('SELECT hr_attendance.action, hr_attendance.employee_id \
|
||||
|
@ -156,4 +158,4 @@ class hr_employee(osv.osv):
|
|||
|
||||
hr_employee()
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
|
Loading…
Reference in New Issue