Merge branch 'dev' of https://gitee.com/jinan-pengyusen-data/gzth into dev_wang
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user