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),