odoo/odoo#198239

Created by fw-bot
Merged at a36fc6400954e3fe13bf1177193cd9d9b6f8b94e

Statuses:

label
odoo-dev:saas-18.2-17.0-nilvera_status_fix-alal-417042-fw
head
177ccc91f2c32d92f4cce5a967a1c2d4ad1ed212
merged
8 months ago by Accounting, Ali Alfie (alal)
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: #197841
Forward-Port-Of: #197797