[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.
This commit is contained in:
Pedro M. Baeza
2024-03-17 12:37:58 +01:00
parent 10d1c443e7
commit 989ead3881

View File

@@ -14,7 +14,7 @@ from odoo.exceptions import UserError
from odoo.tools import DEFAULT_SERVER_DATE_FORMAT as DF
GOCARDLESS_ENDPOINT = "https://bankaccountdata.gocardless.com/api/v2"
REQUESTS_TIMEOUT = 5
REQUESTS_TIMEOUT = 60
class OnlineBankStatementProvider(models.Model):