Merge branch 'dev' of https://gitee.com/jinan-pengyusen-data/gzth into dev_wang
This commit is contained in:
@@ -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,8 +891,8 @@ 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,
|
||||
description=f"标题为{record_id.name}的{record_id._description}已结束,请归档",
|
||||
title=title,
|
||||
description=f"标题为{record_id.name}的{title}已结束,请归档",
|
||||
url=url, btntxt="查看详情")
|
||||
self.node_btn_id.with_context(cx).run()
|
||||
if self.node_btn_name == "分发":
|
||||
|
||||
Reference in New Issue
Block a user