添加功能

This commit is contained in:
李鹏宇
2026-01-06 17:23:50 +08:00
parent 8286155420
commit 72af07d934
@@ -647,6 +647,7 @@ class SoongWorkflowCommentWizard(models.TransientModel):
title=record_id._description,
description=f"编号为{record_id.code}的{record_id._description}已结束,请归档",
url=url, btntxt="查看详情")
return self.node_btn_id.with_context(cx).run()
if self.node_btn_name == '确认':
log_rec_id = record_id.log_ids2.filtered(lambda log: log.done_by == self.env.user)
log_rec_id.write({