From 643ce8a709f2ebb6964e5edbf2ce0c75044200e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Mon, 19 Jan 2026 11:13:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wizard/soong_workflow_record_delete_wizard.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/soong_workflow/wizard/soong_workflow_record_delete_wizard.py b/soong_workflow/wizard/soong_workflow_record_delete_wizard.py index 581635300..4d9b8e428 100644 --- a/soong_workflow/wizard/soong_workflow_record_delete_wizard.py +++ b/soong_workflow/wizard/soong_workflow_record_delete_wizard.py @@ -89,9 +89,9 @@ class SoongWorkflowRecordDeleteWizard(models.TransientModel): "state": "confirm", "active": False }) - # 确保在写入前记录仍然存在 - if target_record.exists(): - target_record.write({'active': False}) + # # # 确保在写入前记录仍然存在 + # if target_record.exists(): + # target_record.write({'is_active': False}) else: workflow_record = self.env["soong.workflow.record"].sudo().search( [("id", "=", record.id), ('reclaim_state', "=", True)], limit=1)