@@ -381,6 +381,8 @@ class PropertyReconciliationWizard(models.Model):
|
||||
if line.contract_id:
|
||||
domain.append(('contract_id', '=', line.contract_id.id))
|
||||
receivable_ids = self.env['property.accounts.receivable'].search(domain)
|
||||
if not receivable_ids:
|
||||
continue
|
||||
for receivable in receivable_ids:
|
||||
if round(line.rent or 0, 2) == round(line.amount or 0, 2):
|
||||
is_reconciliation = True
|
||||
|
||||
Reference in New Issue
Block a user