Merge PR #461 into 12.0

Signed-off-by alexey-pelykh
This commit is contained in:
OCA-git-bot
2022-06-13 10:50:55 +00:00

View File

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