From fbde56b3702f8d3f2a8bca9b7188a21fe2aa7725 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: Sat, 18 Oct 2025 16:22:53 +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 --- yuthon_property_approval/models/property_lease_contract.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yuthon_property_approval/models/property_lease_contract.py b/yuthon_property_approval/models/property_lease_contract.py index df1630845..4ac9fe1c0 100644 --- a/yuthon_property_approval/models/property_lease_contract.py +++ b/yuthon_property_approval/models/property_lease_contract.py @@ -1871,9 +1871,9 @@ class PropertyLeaseContractLine(models.Model): self.ensure_one() return { 'type': 'ir.actions.act_window', - 'name': '物业租赁合同审批', - 'res_model': 'property.lease.contract', - 'res_id': self.id, + 'name': '物业信息', + 'res_model': 'yuthon.property', + 'res_id': self.address_id.id, 'view_mode': 'form', 'target': 'current', }