From 7d4eeed7bc950fcf2c8d6f9ae7589f7cd367d194 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Wed, 30 Jul 2025 11:34:02 +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 c510faf5f..39bba7db5 100644 --- a/yuthon_property_approval/models/inherit_yuthon_property.py +++ b/yuthon_property_approval/models/inherit_yuthon_property.py @@ -154,7 +154,7 @@ class PropertyBankStatements(models.Model): ('tenant_id.name', '!=', False), ]) if bank_lines: - tenant_id = bank_lines[0].tenant_id.id + tenant_id = bank_lines[0].tenant_id # 应收租金 rent_ids = self.env['property.accounts.receivable'].search([ ('lessee_id', '=', tenant_id.id),