!7989 添加功能

Merge pull request !7989 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2026-01-15 06:42:27 +00:00
committed by Gitee
@@ -640,7 +640,7 @@ class SoongWorkflowCommentWizard(models.TransientModel):
'soong_state': 'to_active',
'node_id': False,
})
log_id = record_id.log_ids.filtered(lambda l: l.comment in ['归档', '待归档'])
log_id = record_id.log_ids.filtered(lambda l: l.name == '归档')
if not log_id:
self.env["soong.workflow.log"].create({
'name': '归档',