diff --git a/account_bank_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py b/account_bank_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py index 096b96a..6802313 100644 --- a/account_bank_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py +++ b/account_bank_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py @@ -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'], }