odoo/odoo#197832

Created by fw-bot
Merged at b4c558c757ce1a60068bb3122823b9d89926a01c

Statuses:

label
odoo-dev:saas-17.4-17.0-nilvera_status_fix-alal-416348-fw
head
dca818d18b2ce5829e02a985f10d0c8f78132880
merged
8 months ago by Accounting, Wala Gauthier (gawa)
odoo/odoo
17.0 #197797
saas-17.4 #197832
18.0 #197841
saas-18.1 #198232
saas-18.2 #198239
saas-18.3
saas-18.4
19.0
master #199404

[FW][IMP] l10n_tr_nilvera: improve exception handling for connectivity issues

Previously, if a request in the Nilvera Client failed due to connectivity issues, a traceback was thrown. This behavior caused upgrade CI failures because the internet is blocked and check_nilvera_customer would be triggered for newly created partners. This commit enhances the exception handling for all requests and fixes the upgrade CI issue by silently exiting the function when a connectivity problem is detected.

no task ID.

Forward-Port-Of: #197797