From e50f363e80e27ec9016dc44d4f9cc579037fe4a2 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, 3 Dec 2025 15:57:24 +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 +- .../views/inherit_yuthon_property_views.xml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/soong_workflow/models/soong_workflow_mixin.py b/soong_workflow/models/soong_workflow_mixin.py index 5e3559d03..a6373c48d 100644 --- a/soong_workflow/models/soong_workflow_mixin.py +++ b/soong_workflow/models/soong_workflow_mixin.py @@ -422,7 +422,7 @@ class SoongWorkflowMixin(models.AbstractModel): "default_trans_link_id": self.env['trans.link'].search(trans_domain, limit=1).id if btn_rec.name == '转交' else False, "all_workflow_links": trans_link_ids, "default_return_link_id": self.env['trans.link'].search( - [('link_type', '=', 'return'), ('record_id', '=', self.id)], + [('record_id', '=', self.id)], limit=1).id if btn_rec.name == '退回' else False, }, } diff --git a/yuthon_property_approval/views/inherit_yuthon_property_views.xml b/yuthon_property_approval/views/inherit_yuthon_property_views.xml index c4c8df29b..2cf30e740 100644 --- a/yuthon_property_approval/views/inherit_yuthon_property_views.xml +++ b/yuthon_property_approval/views/inherit_yuthon_property_views.xml @@ -452,13 +452,13 @@ - - 初始化对账 - - - code - action = model.initialize_reconciliation() - + + + + + + +