Commit Graph

35 Commits

Author SHA1 Message Date
OCA-git-bot
3958cfc444 [BOT] post-merge updates 2024-12-13 08:40:00 +00:00
ArPol
03806fbed3 [FIX #745] account_statement_import_online_gocardless : fix typing error in wizard new_link method 2024-12-13 09:23:54 +01:00
mymage
806d0b6c48 Translated using Weblate (Italian)
Currently translated at 100.0% (38 of 38 strings)

Translation: bank-statement-import-16.0/bank-statement-import-16.0-account_statement_import_online_gocardless
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_online_gocardless/it/
2024-11-28 23:06:26 +00:00
mymage
198b7b8ccb Translated using Weblate (Italian)
Currently translated at 100.0% (38 of 38 strings)

Translation: bank-statement-import-16.0/bank-statement-import-16.0-account_statement_import_online_gocardless
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_online_gocardless/it/
2024-10-30 10:06:22 +00:00
OCA-git-bot
f579b750f1 [BOT] post-merge updates 2024-08-11 11:51:38 +00:00
Pedro M. Baeza
36db32bda2 [FIX] account_statement_import_online_gocardless: Slash at the end
Some of the API endpoints need it, like token renew. You get if not
405 HTTP code.

It includes also a typo fix in a method name.
2024-08-11 13:44:59 +02:00
OCA-git-bot
cba0c8ea72 [UPD] README.rst 2024-08-10 18:02:47 +00:00
Pedro M. Baeza
8b108c285e [FIX] account_statement_import_online_gocardless: Missing param for basic auth
If not, there's a loop.
2024-08-10 20:01:52 +02:00
OCA-git-bot
748265b528 [BOT] post-merge updates 2024-08-09 16:30:06 +00:00
Pedro M. Baeza
770a65ac10 [FIX] account_statement_import_online_gocardless: Bugs after the refactoring
After the refactoring in #686, this doesn't work anymore:

- The API URL didn't end in "/", so the join_url doesn't do correctly
  the join.
- There's an infinite loop when getting the headers for getting the
  token.
2024-08-09 18:24:38 +02:00
OCA-git-bot
747c454437 [BOT] post-merge updates 2024-08-08 17:24:28 +00:00
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
mymage
2db91c9d6d Added translation using Weblate (Italian) 2024-05-03 09:41:30 +00:00
OCA-git-bot
4a89d34ac2 [BOT] post-merge updates 2024-04-23 06:46:29 +00:00
oca-ci
b1b0503ff4 [UPD] Update account_statement_import_online_gocardless.pot 2024-04-23 06:43:17 +00:00
Pedro M. Baeza
5b24164e1f [IMP] account_statement_import_online_gocardless: Button conditional visibility 2024-04-22 20:21:54 +02:00
Pedro M. Baeza
717cc7d1f2 [IMP] account_statement_import_online_gocardless: Wizard for choosing if reusing or not credentials
Some banks only allow one credentials, while others work better with
separate ones, so it's a matter of trying. This commit introduces
a wizard for choosing one method or the other.

TT48828
2024-04-22 20:21:13 +02:00
MayteGLC
f9edf2429b Translated using Weblate (Spanish)
Currently translated at 100.0% (23 of 23 strings)

Translation: bank-statement-import-16.0/bank-statement-import-16.0-account_statement_import_online_gocardless
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_online_gocardless/es/
2024-03-20 20:34:08 +00:00
MayteGLC
cce49b4cd0 Translated using Weblate (Spanish)
Currently translated at 100.0% (23 of 23 strings)

Translation: bank-statement-import-16.0/bank-statement-import-16.0-account_statement_import_online_gocardless
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_online_gocardless/es/
2024-03-20 18:20:55 +00:00
Ivorra78
11c2d3870f Translated using Weblate (Spanish)
Currently translated at 100.0% (23 of 23 strings)

Translation: bank-statement-import-16.0/bank-statement-import-16.0-account_statement_import_online_gocardless
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_online_gocardless/es/
2024-03-20 18:20:54 +00:00
MayteGLC
09848000cf Translated using Weblate (Spanish)
Currently translated at 26.0% (6 of 23 strings)

Translation: bank-statement-import-16.0/bank-statement-import-16.0-account_statement_import_online_gocardless
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_online_gocardless/es/
2024-03-19 18:35:29 +00:00
MayteGLC
102255f407 Added translation using Weblate (Spanish) 2024-03-19 10:33:11 +00:00
OCA-git-bot
7be74c9eff [BOT] post-merge updates 2024-03-17 11:44:13 +00:00
Pedro M. Baeza
989ead3881 [FIX] account_statement_import_online_gocardless: Increase timeout
It turns out that the timeout is for receiving whole answer, so in real
tests, the previous timeout was not enough for getting the answer when
there are some transactions load (like a month).

Let's increase this timeout then to a reasonable amount.
2024-03-17 12:37:58 +01:00
OCA-git-bot
f4cd8ac05c [BOT] post-merge updates 2024-02-28 08:12:14 +00:00
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