odoo/odoo#197797

Created by Accounting, Ali Alfie (alal)
Merged at 3b5cb63aaf5b8e1c3ee0842d30bbc06fd43c8ddb

Statuses:

label
odoo-dev:17.0-nilvera_status_fix-alal
head
8bfd9d408d6f5d321fcaf6b2b0b0bd1c5bd46a6a
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

[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.