miss
This commit is contained in:
parent
927c2f4e86
commit
bfe97d3eea
|
|
@ -486,6 +486,8 @@ class Attendance(models.Model):
|
||||||
for record in self:
|
for record in self:
|
||||||
record.attendance_duration = 0.0
|
record.attendance_duration = 0.0
|
||||||
record.attendance_duration_hhmmss = "00:00:00"
|
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:
|
if not record.employee_id or not record.action_date:
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue