[IMP] hr_attendance:removed print statement
bzr revid: mtr@mtr-20110202104049-4g37pfocg7b4wwl8
This commit is contained in:
parent
c4a9cf71c1
commit
36c8648d41
|
@ -83,9 +83,7 @@ class report_custom(report_rml):
|
|||
# sum up the attendances' durations
|
||||
ldt = None
|
||||
for att in attendences:
|
||||
print"--att---",att
|
||||
dt = datetime.strptime(att['name'], '%Y-%m-%d %H:%M:%S')
|
||||
print"--dt---",dt
|
||||
if ldt and att['action'] == 'sign_out':
|
||||
wh += (dt - ldt).seconds/60/60
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue