From c246560fec5a163f5947294215c47c3b00431412 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: Mon, 29 Sep 2025 16:07: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/inherit_yuthon_property.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/yuthon_property_approval/models/inherit_yuthon_property.py b/yuthon_property_approval/models/inherit_yuthon_property.py index 4829f4658..755f1dea4 100644 --- a/yuthon_property_approval/models/inherit_yuthon_property.py +++ b/yuthon_property_approval/models/inherit_yuthon_property.py @@ -170,7 +170,6 @@ class PropertyBankStatements(models.Model): total_rent_month = 0 # 应收租金 rent_ids = self.env['property.accounts.receivable'].search([ - ('lessee_id.name', '=', record.name_account), ('contract_id.lessor_id.referred', '=', self.your_own_unit), ('management_type_id.name', '=', '租金'), ('is_reconciliation', '=', False), @@ -178,7 +177,6 @@ class PropertyBankStatements(models.Model): ]) # 应收押金 deposit_ids = self.env['property.accounts.receivable'].search([ - ('lessee_id.name', '=', record.name_account), ('contract_id.lessor_id.referred', '=', self.your_own_unit), ('management_type_id.name', '=', '押金'), ('is_reconciliation', '=', False), @@ -186,7 +184,6 @@ class PropertyBankStatements(models.Model): ]) # 应收管理费 management_ids = self.env['property.accounts.receivable'].search([ - ('lessee_id.name', '=', record.name_account), ('contract_id.lessor_id.referred', '=', self.your_own_unit), ('management_type_id.name', '=', '管理费'), ('is_reconciliation', '=', False), @@ -194,7 +191,6 @@ class PropertyBankStatements(models.Model): ]) # 应收水费 water_ids = self.env['property.accounts.receivable'].search([ - ('lessee_id.name', '=', record.name_account), ('contract_id.lessor_id.referred', '=', self.your_own_unit), ('management_type_id.name', '=', '水费'), ('is_reconciliation', '=', False), @@ -202,7 +198,6 @@ class PropertyBankStatements(models.Model): ]) # 应收电费 electricity_ids = self.env['property.accounts.receivable'].search([ - ('lessee_id.name', '=', record.name_account), ('contract_id.lessor_id.referred', '=', self.your_own_unit), ('management_type_id.name', '=', '电费'), ('is_reconciliation', '=', False),