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', }