This commit is contained in:
李鹏宇
2026-03-03 12:15:11 +08:00
@@ -110,9 +110,10 @@ class RemoveHolidayApprovals(models.Model):
('current_data', '<=', end_date)
])
if attend_records:
attend_records.compute_attend()
attend_records.workflow_id = False
attend_records.is_workflow = False
for attend in attend_records:
attend.compute_attend()
attend.workflow_id = False
attend.is_workflow = False
@api.depends('date_start', 'date_end')
def _compute_duration(self):