minor changed in hr_attendance

bzr revid: solanki.priyesh@gmail.com-20081208120940-tcyki05qw4c3u86o
This commit is contained in:
Priyesh
2008-12-08 17:39:40 +05:30
parent 7ec69caa6d
commit 03e0e088d9
+2 -1
View File
@@ -71,7 +71,8 @@ class hr_attendance(osv.osv):
''' % (id, id)
cr.execute(sql)
atts = cr.fetchall()
if not ((len(atts)==1 and atts[0][0] == 'sign_in') or (atts[0][0] != atts[1][0] and atts[0][1] != atts[1][1])):
print "ATTS", atts
if not ((len(atts)==1 and atts[0][0] == 'sign_in')) or (atts[0][0] != atts[1][0] and atts[0][1] != atts[1][1]):
return False
return True