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:
7ec69ca
)
minor changed in hr_attendance
author
Priyesh
<solanki.priyesh@gmail.com>
Mon, 8 Dec 2008 12:09:40 +0000
(17:39 +0530)
committer
Priyesh
<solanki.priyesh@gmail.com>
Mon, 8 Dec 2008 12:09:40 +0000
(17:39 +0530)
bzr revid: solanki.priyesh@gmail.com-
20081208120940
-tcyki05qw4c3u86o
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
dfa1e3a
..
6856193
100644
(file)
--- a/
addons/hr_attendance/hr_attendance.py
+++ b/
addons/hr_attendance/hr_attendance.py
@@
-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