添加功能

This commit is contained in:
李鹏宇
2026-03-14 15:57:58 +08:00
parent 1a7ece87e9
commit 08039fbe6d
@@ -683,7 +683,7 @@ class SoongWorkflowCommentWizard(models.TransientModel):
else:
if record_id.log_ids:
user_log = record_id.log_ids.filtered(
lambda log: log.done_by == current_user and log.node_btn_name != '1'
lambda log: log.done_by == current_user and log.node_btn_name != '1' and log.approval_state == '0'
)
if user_log:
user_log.write({