André Schenkels
8 years ago
committed by
Holger Brunn
No known key found for this signature in database
GPG Key ID: 1C9760FECA3AE18
1 changed files with
1 additions and
1 deletions
-
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 |