[FIX] hr_attendance: fix small during check quality

bzr revid: hmo@tinyerp.com-20100903100903-82pj3xya5b6hmh04
This commit is contained in:
Harry (OpenERP)
2010-09-03 15:39:03 +05:30
parent 08e46d8073
commit e4e5d50693
+3 -1
View File
@@ -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: