commit
e32a5a2243
|
|
@ -486,6 +486,8 @@ class Attendance(models.Model):
|
|||
for record in self:
|
||||
record.attendance_duration = 0.0
|
||||
record.attendance_duration_hhmmss = "00:00:00"
|
||||
record.mission_duration = 0.0
|
||||
record.permission_duration = 0.0
|
||||
|
||||
if not record.employee_id or not record.action_date:
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in New Issue