odoo/odoo#199404

Created by fw-bot
Merged at 7b79287f8f5f4f0f725420abc20ce0a1521052cb

Statuses:

label
odoo-dev:master-17.0-nilvera_status_fix-alal-417055-fw
head
bc6b29ee00c610d1cd7899c087bd5c697a4904ec
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