From 19ee5bac0618381e1e5b1c90ca00152e9d93e172 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Wed, 30 Jul 2025 11:15:06 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_property_approval/models/inherit_yuthon_property.py b/yuthon_property_approval/models/inherit_yuthon_property.py index 2db9e4c3e..c510faf5f 100644 --- a/yuthon_property_approval/models/inherit_yuthon_property.py +++ b/yuthon_property_approval/models/inherit_yuthon_property.py @@ -53,7 +53,7 @@ class PropertyBankStatements(models.Model): ]) if bank_lines: tenant_id = bank_lines[0].tenant_id.id - accounts = self.env['property.accounts.approval'].search([ + accounts = self.env['property.accounts.receivable'].search([ ('payout_date', '=', start_date), ('lessee_id', '=', tenant_id), ('contract_id', 'in', rec.contract_ids.ids),