odoo/odoo#197841

Created by fw-bot
Merged at 8ea45c81352b7b7a1952aeef6c70161b19ecc13e

Statuses:

label
odoo-dev:18.0-17.0-nilvera_status_fix-alal-416416-fw
head
c7a80e640b81c36cd810277dca9bfc6c43e90691
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: #197797