Commit Graph

3 Commits

Author SHA1 Message Date
Luis J. Salvatierra
cd01ed0f43 [FIX] account_statement_import_online_gocardless: IBAN comparison
It is possible that, when making the request to the requisitions endpoint,
the IBAN bank account comes with a lower alphanumeric string.
When comparing with the sanitized bank account (stored with upper) fails.

self.journal_id.bank_account_id.sanitized_acc_number == account_data["iban"]

to

self.journal_id.bank_account_id.sanitized_acc_number == account_data["iban"].upper()

Refactor method _gocardless_finish_requisition to be able to mock the requests made inside and create a unit test.
Refactor requests methods.
2024-08-08 09:23:44 +02:00
AlexPForgeFlow
e557786c9f [MIG] account_statement_import_online_gocardless: Migration to 16.0 2024-02-26 10:00:25 +01:00
Pedro M. Baeza
b68f9d54e2 [ADD] account_statement_import_online_gocardless
This module provides online bank statements from GoCardless Bank Account
Data, which provides a free API for connecting and getting transactions
for bank accounts.

TT45760

Co-Authored-By: Christopher Ormaza <chris.ormaza@forgeflow.com>
Co-Authored-By: Jordi Ballester <jordi.ballester@forgeflow.com>
2023-12-14 12:21:05 +01:00