Merge pull request !4170 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2025-07-30 03:15:57 +00:00
committed by Gitee
@@ -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),