From 71f65ebfeaf0de57370cde163cac467726e77381 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: Wed, 14 Jan 2026 15:43:23 +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 --- soong_workflow/models/soong_workflow_mixin.py | 2 +- yuthon_purchase/views/inherit_purchase_order_views.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/soong_workflow/models/soong_workflow_mixin.py b/soong_workflow/models/soong_workflow_mixin.py index 72c799100..670eef98a 100644 --- a/soong_workflow/models/soong_workflow_mixin.py +++ b/soong_workflow/models/soong_workflow_mixin.py @@ -353,7 +353,7 @@ class SoongWorkflowMixin(models.AbstractModel): # 当前节点 if btn_rec.name not in ['结束', '归档']: current_node = node_list[state_list.index(state)] - # self.env['trans.link'].search([]).unlink() todo 待测试 + self.env['trans.link'].search([]).unlink() # 退回节点根据日志进行判断 if btn_rec.name == '退回': approved_logs = self.log_ids.filtered(lambda log: log.approval_state == '2') diff --git a/yuthon_purchase/views/inherit_purchase_order_views.xml b/yuthon_purchase/views/inherit_purchase_order_views.xml index 245fc3a54..5b3167f12 100644 --- a/yuthon_purchase/views/inherit_purchase_order_views.xml +++ b/yuthon_purchase/views/inherit_purchase_order_views.xml @@ -65,6 +65,7 @@ type="object" string="打印" class="btn-primary" invisible="not work_end"/> +