[FIX] *_online Improvements after review

This commit is contained in:
Ronald Portier
2021-12-13 22:11:22 +01:00
committed by Ronald Portier (Therp BV)
parent 7c4c123c55
commit 27aaf4b5cf

View File

@@ -237,7 +237,7 @@ class OnlineBankStatementProviderPonto(models.Model):
"payment_ref": attributes.get("remittanceInformation", ref),
"unique_import_id": transaction["id"],
"amount": attributes["amount"],
"raw_data": transaction,
"online_raw_data": transaction,
}
if attributes.get("counterpartReference"):
vals_line["account_number"] = attributes["counterpartReference"]