This commit is contained in:
pengyuthon
2026-03-07 16:11:35 +08:00
parent 71b1f01796
commit 9e4be8935e
+1 -1
View File
@@ -194,7 +194,7 @@ class YuthonWillTask(models.Model):
task.write({'task_state': 'done'})
will_id = task.yuthon_will_task_id
will_id.task_state = 'done'
for employee_id in task.employee_ids + task.employee_ids2:
for employee_id in task.employee_ids:
url = f'https://phone.thtzjt.com/phone/Schedule/{task.yuthon_will_task_id.id}/{employee_id.user_id.id}'
data_date = '开始时间:' + str(self.start_date) + str(self.request_hour_from) + '\n'
data_name = "事项名称: " + task.yuthon_will_task_id.name + '\n'