From 893b67ba11186649550be8edd79d5c6cb044c493 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: Fri, 19 Sep 2025 14:52: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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yuthon_property_approval/models/property_lease_contract.py b/yuthon_property_approval/models/property_lease_contract.py index c6ba8e6d2..d913d759f 100644 --- a/yuthon_property_approval/models/property_lease_contract.py +++ b/yuthon_property_approval/models/property_lease_contract.py @@ -343,11 +343,10 @@ class PropertyLeaseContract(models.Model): rec.is_electricity = False rec.water_fee_ids = [(5, 0, 0)] rec.electricity_fee_ids = [(5, 0, 0)] - + rec.department_id = None water_fee_values = [] electricity_fee_values = [] if rec.lease_ids: - # 处理每个租赁记录 for lease in rec.lease_ids: if lease.address_id: