From 9e73b0f19e33a57b639a8fc9bf6693cf6bfdd046 Mon Sep 17 00:00:00 2001 From: jans23 Date: Tue, 17 Mar 2026 11:15:32 +0100 Subject: [PATCH] Fix new_get_soap_client's signature Added support for additional keyword arguments in new_get_soap_client function. --- odoo/_monkeypatches/stdnum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/_monkeypatches/stdnum.py b/odoo/_monkeypatches/stdnum.py index 793faec1416616..efc66045cced75 100644 --- a/odoo/_monkeypatches/stdnum.py +++ b/odoo/_monkeypatches/stdnum.py @@ -3,7 +3,7 @@ _soap_clients = {} -def new_get_soap_client(wsdlurl, timeout=30): +def new_get_soap_client(wsdlurl, timeout=30, **kwargs): # stdnum library does not set the timeout for the zeep Transport class correctly # (timeout is to fetch the wsdl and operation_timeout is to perform the call), # requiring us to monkey patch the get_soap_client function.