!8951 添加功能

Merge pull request !8951 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2026-02-22 10:55:07 +00:00
committed by Gitee
2 changed files with 2 additions and 2 deletions
@@ -751,7 +751,7 @@ class SoongWorkflowCommentWizard(models.TransientModel):
description=f"标题为{record_id.name}的{record_id._description}已结束,请归档",
url=url, btntxt="查看详情")
# self.node_btn_id.with_context(cx).run()
self.node_btn_id.with_context(cx).run()
if self.node_btn_name == "分发":
record_id.is_send = True
menu_id = self.env['ir.ui.menu'].search([('name', '=', '行政收文')], limit=1)
@@ -6,7 +6,7 @@
<field name="arch" type="xml">
<tree>
<header>
<button name="return_onboard_approval" type="object" string="入职申请" class="oe_highlight"/>
<button name="return_onboard_approval" type="object" string="办理入职" class="oe_highlight"/>
</header>
<field name="code"/>
<field name="name"/>