Commit Graph

10 Commits

Author SHA1 Message Date
Pedro M. Baeza
5c48447cfa [IMP] account_statement_import_online_gocardless: Reuse requisition from other provider
Check if there's another provider already linked for the same bank
institution, and if so, reuse it for this bank account, as some banks
don't allow several requisitions from the same source (GoCardless).

TT47944
2024-02-27 20:02:55 +01:00
OCA-git-bot
9c2ab4e601 [BOT] post-merge updates 2024-02-27 08:15:37 +00:00
oca-ci
fb0fb884c3 [UPD] Update account_statement_import_online_gocardless.pot 2024-02-27 08:12:19 +00:00
AlexPForgeFlow
e557786c9f [MIG] account_statement_import_online_gocardless: Migration to 16.0 2024-02-26 10:00:25 +01:00
oca-ci
d58d1a9934 [UPD] Update account_statement_import_online_gocardless.pot 2024-02-07 16:42:32 +01:00
Pedro M. Baeza
9daf654667 [FIX] account_statement_import_online_gocardless: Payment reference extraction
Since one week ago, banks like Sabadell is sending the information in
the JSON list `remittanceInformationUnstructuredArray` instead of
`remittanceInformationUnstructured`.

Thus, we need to parse both for finding the proper element. For the rest
that are using the previous one, there's no change.

TT47491
2024-02-07 16:42:32 +01:00
Pedro M. Baeza
dd0759c6e4 [FIX] account_statement_import_online_gocardless: Remove missing JS
Not sure why it didn't raise before.
2024-02-07 16:40:22 +01:00
Pedro M. Baeza
4faed3e1c5 [FIX] account_statement_import_online_gocardless: Fallback to journal company
If the bank account is shared across multiple companies (no assigned company_id),
we can't launch the "Select Bank Account Identifier" wizard, so we fallback
to the journal company for getting the country.

TT43849
2024-02-07 16:31:25 +01:00
Pedro M. Baeza
1c06355727 [FIX] account_statement_import_online_gocardless: Unique ID fallback
Not all banks provide an entry reference or transaction ID, so we need
to fallback to the Gocardless internal ID for getting the unique ID
in such cases.

TT46640
2024-02-07 16:31: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