From b3d4c2d178bb3dbb9875271082bc36a80076e649 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Tue, 2 Apr 2019 17:44:36 +0200 Subject: [PATCH] [FIX] account: IndentationError Oversight of previous forward-port. --- addons/account/models/account_bank_statement.py | 1 - 1 file changed, 1 deletion(-) 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.'))