diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-04-02 17:44:36 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-04-02 17:44:36 +0200 |
| commit | b3d4c2d178bb3dbb9875271082bc36a80076e649 (patch) | |
| tree | a5aa7788ee25cd92cd478e0e09a773f6fb3fcb6a | |
| parent | 1122b62d004dacffb0f71be4276866c3c0685c22 (diff) | |
[FIX] account: IndentationError
Oversight of previous forward-port.
| -rw-r--r-- | addons/account/models/account_bank_statement.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/account/models/account_bank_statement.py b/addons/account/models/account_bank_statement.py index fea4e941783..2da48ba4cb9 100644 --- a/addons/account/models/account_bank_statement.py +++ b/addons/account/models/account_bank_statement.py @@ -241,7 +241,6 @@ class AccountBankStatement(models.Model): #upon bank statement confirmation, look if some lines have the account_id set. It would trigger a journal entry #creation towards that account, with the wanted side-effect to skip that line in the bank reconciliation widget. journal_entries = line_journal_entries[st_line] - if st_line.account_id and not journal_entries.ids: st_line.fast_counterpart_creation() if not st_line.account_id and not journal_entries.ids and not st_line.statement_id.currency_id.is_zero(st_line.amount): raise UserError(_('All the account entries lines must be processed in order to close the statement.')) |
