Browse Source

[FIX] flake8 error

pull/201/head
André Schenkels 7 years ago
committed by George Daramouskas
parent
commit
c4eabb2be7
No known key found for this signature in database GPG Key ID: 5B4EF742F8CD859C
  1. 2
      account_bank_statement_import_auto_reconcile/models/account_bank_statement_import_auto_reconcile_exact_amount.py

2
account_bank_statement_import_auto_reconcile/models/account_bank_statement_import_auto_reconcile_exact_amount.py

@ -47,6 +47,6 @@ class AccountBankStatementImportAutoReconcileExactAmount(models.AbstractModel):
(amount_field, '=', self._round(sign * statement_line.amount)),
]
move_lines = self.env['account.move.line'].search(domain, limit=2)
if move_lines and len(move_lines)==1:
if move_lines and len(move_lines) == 1:
self._reconcile_move_line(statement_line, move_lines.id)
return True
Loading…
Cancel
Save