@@ -65,7 +65,7 @@ class PropertyBankStatements(models.Model):
|
||||
])
|
||||
rec.bank_state = 'not_reconciled'
|
||||
rec.registered = 0
|
||||
rec.no_amount = rec.yes_amount
|
||||
rec.no_amount = 0
|
||||
rec.yes_amount = 0
|
||||
if accounts:
|
||||
for account in accounts:
|
||||
|
||||
@@ -177,7 +177,7 @@ class PropertyReconciliationWizard(models.Model):
|
||||
domain.append(('contract_id', '=', line.contract_id.id))
|
||||
receivable_ids = self.env['property.accounts.receivable'].search(domain)
|
||||
for receivable in receivable_ids:
|
||||
if not rec.amount_reconciled:
|
||||
if line.rent == line.amount:
|
||||
is_reconciliation = True
|
||||
else:
|
||||
is_reconciliation = False
|
||||
|
||||
Reference in New Issue
Block a user