From 0e3f0a63d3fa4a0bbc6ab69c39dbcfe0821c0a5f 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: Wed, 25 Mar 2026 19:32:41 +0800 Subject: [PATCH 1/2] =?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/wizard/soong_workflow_comment_wizard.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/soong_workflow/wizard/soong_workflow_comment_wizard.py b/soong_workflow/wizard/soong_workflow_comment_wizard.py index 91dedfcda..9ce48bc4b 100644 --- a/soong_workflow/wizard/soong_workflow_comment_wizard.py +++ b/soong_workflow/wizard/soong_workflow_comment_wizard.py @@ -701,6 +701,9 @@ class SoongWorkflowCommentWizard(models.TransientModel): title=record_id._description + "退回", description=description, url=url, btntxt="查看详情") if self.node_btn_name in ['结束', '确认']: + title = record_id._description + if 'Room Booking' == record_id._description: + title = '会议通知' is_work_remind = False current_user = self.env.user current_datetime = fields.Datetime.now() @@ -888,7 +891,7 @@ class SoongWorkflowCommentWizard(models.TransientModel): else: self.sudo().env["wecom.apps"].sync_send_message_textcard(category='oa', user_id=employee.wecom_userid, - title=record_id._description, + title=title, description=f"标题为{record_id.name}的{record_id._description}已结束,请归档", url=url, btntxt="查看详情") self.node_btn_id.with_context(cx).run() From 2f21c26cf8b7bfee0026e37bbab7c084d489e4b7 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: Wed, 25 Mar 2026 19:36:58 +0800 Subject: [PATCH 2/2] =?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/wizard/soong_workflow_comment_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soong_workflow/wizard/soong_workflow_comment_wizard.py b/soong_workflow/wizard/soong_workflow_comment_wizard.py index 9ce48bc4b..cb871fb4f 100644 --- a/soong_workflow/wizard/soong_workflow_comment_wizard.py +++ b/soong_workflow/wizard/soong_workflow_comment_wizard.py @@ -892,7 +892,7 @@ class SoongWorkflowCommentWizard(models.TransientModel): self.sudo().env["wecom.apps"].sync_send_message_textcard(category='oa', user_id=employee.wecom_userid, title=title, - description=f"标题为{record_id.name}的{record_id._description}已结束,请归档", + description=f"标题为{record_id.name}的{title}已结束,请归档", url=url, btntxt="查看详情") self.node_btn_id.with_context(cx).run() if self.node_btn_name == "分发":