Browse Source

Merge PR #461 into 12.0

Signed-off-by alexey-pelykh
12.0
OCA-git-bot 2 years ago
parent
commit
5474624d9c
  1. 2
      account_bank_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py

2
account_bank_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py

@ -212,7 +212,7 @@ class OnlineBankStatementProviderPonto(models.Model):
'sequence': sequence, 'sequence': sequence,
'date': date, 'date': date,
'ref': re.sub(' +', ' ', ref) or '/', 'ref': re.sub(' +', ' ', ref) or '/',
'name': attributes.get('remittanceInformation', ref),
'name': attributes.get('remittanceInformation') or ref,
'unique_import_id': transaction['id'], 'unique_import_id': transaction['id'],
'amount': attributes['amount'], 'amount': attributes['amount'],
} }

Loading…
Cancel
Save