From 2a3d5cdfd65f0278f851599de8ccd2160f50ffc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Fri, 10 Apr 2026 10:36:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- soong_workflow/models/soong_workflow_node.py | 6 +++--- yuthon_hr_attendance/models/hr_attendance.py | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/soong_workflow/models/soong_workflow_node.py b/soong_workflow/models/soong_workflow_node.py index 67929f9e8..dcad702a1 100644 --- a/soong_workflow/models/soong_workflow_node.py +++ b/soong_workflow/models/soong_workflow_node.py @@ -149,7 +149,7 @@ class SoongWorkflowNode(models.Model): "sequence": sequence + 1, "action_type": "end", "btn_hide": False, - "has_comment": False, + "has_comment": True, "review_type": "end", }) add_archive = (0, 0, { @@ -158,7 +158,7 @@ class SoongWorkflowNode(models.Model): "sequence": sequence + 2, "action_type": "code", "btn_hide": False, - "has_comment": False, + "has_comment": True, }) record.button_ids = remove_commands + [add_end, add_archive] @@ -184,7 +184,7 @@ class SoongWorkflowNode(models.Model): "sequence": sequence + 1, "action_type": "confirm", "btn_hide": False, # 对所有人显示 - "has_comment": False, # 对所有人显示 + "has_comment": True, # 对所有人显示 "review_type": "confirm", }), ] diff --git a/yuthon_hr_attendance/models/hr_attendance.py b/yuthon_hr_attendance/models/hr_attendance.py index cbd6cbb84..f9c6e0508 100644 --- a/yuthon_hr_attendance/models/hr_attendance.py +++ b/yuthon_hr_attendance/models/hr_attendance.py @@ -371,12 +371,12 @@ class HrAttendance(models.Model): description='考勤异常请尽快处理', exception_alerts = True, url=url, btntxt="查看详情") - self.sudo().env["wecom.apps"].sync_send_message_textcard(category='att', - user_id='18562027762', - title='【考勤异常提醒】', - exception_alerts=True, - description='考勤异常请尽快处理', - url=url, btntxt="查看详情") + self.sudo().env["wecom.apps"].sync_send_message_textcard(category='att', + user_id='18562027762', + title='【考勤异常提醒】', + exception_alerts=True, + description='考勤异常请尽快处理', + url=url, btntxt="查看详情") def missing_card_judgment(self): today = fields.Date.today()