Browse Source

Merge PR #297 into 12.0

Signed-off-by alexey-pelykh
12.0
OCA-git-bot 5 years ago
parent
commit
09d280f28e
  1. 7
      account_bank_statement_import_online/models/online_bank_statement_provider.py

7
account_bank_statement_import_online/models/online_bank_statement_provider.py

@ -214,9 +214,12 @@ class OnlineBankStatementProvider(models.Model):
statement_date_until,
)
if not data:
statement_date_since = statement_date_until
continue
data = ([], {})
lines_data, statement_values = data
if not lines_data:
lines_data = []
if not statement_values:
statement_values = {}
statement = AccountBankStatement.search([
('journal_id', '=', provider.journal_id.id),
('state', '=', 'open'),

Loading…
Cancel
Save