From a0d82544f2d48b039b1069cd52dc4e15f299425f Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Wed, 16 Jul 2025 16:02:42 +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 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/yuthon_property_approval/models/property_lease_contract.py b/yuthon_property_approval/models/property_lease_contract.py index 200922486..efe4f7c7e 100644 --- a/yuthon_property_approval/models/property_lease_contract.py +++ b/yuthon_property_approval/models/property_lease_contract.py @@ -251,10 +251,6 @@ class PropertyLeaseContract(models.Model): electricity_fee_values = [] if rec.lease_ids: - first_lease = rec.lease_ids[0] - if first_lease.admin_line_id: - rec.admin_id = first_lease.admin_line_id.id - # 处理每个租赁记录 for lease in rec.lease_ids: if lease.address_id: