Browse Source

[FIX] flake8 error

pull/99/head
André Schenkels 8 years ago
committed by GitHub
parent
commit
d8e8ca614c
  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)), (amount_field, '=', self._round(sign * statement_line.amount)),
] ]
move_lines = self.env['account.move.line'].search(domain, limit=2) 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) self._reconcile_move_line(statement_line, move_lines.id)
return True return True
Loading…
Cancel
Save