Browse Source

[FIX] flake8 error

pull/204/head
André Schenkels 8 years ago
committed by Holger Brunn
parent
commit
ede3f1ccb8
No known key found for this signature in database GPG Key ID: 1C9760FECA3AE18
  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