rest – como consumir api en odoo 13


tengo inconveniente a la hora de consumir una api en odoo con pycharm .
No encuentro el motivo , hago lo mismo en postman pero ahi si tengo respuesta del api.

Cualquier idea se le agradecera.

introducir la descripciĆ³n de la imagen aquĆ­

File “C:UsersUserPycharmProjectsodoo13odooodooapi.py”, line 387, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File “C:UsersUserPycharmProjectsodoo13odooodooapi.py”, line 374, in _call_kw_multi
result = method(recs, *args, **kwargs)
File “c:usersuserpycharmprojectsodoo13sesion01mi_primer_modulomodelsventa.py”, line 120, in consumir_api
r = requests.request(“POST”, url=url, data=args)
File “C:UsersUserPycharmProjectsodoo13venvlibsite-packagesrequestsapi.py”, line 60, in request
return session.request(method=method, url=url, **kwargs)
File “C:UsersUserPycharmProjectsodoo13venvlibsite-packagesrequestssessions.py”, line 533, in request
resp = self.send(prep, **send_kwargs)
File “C:UsersUserPycharmProjectsodoo13venvlibsite-packagesrequestssessions.py”, line 646, in send
r = adapter.send(request, **kwargs)
File “C:UsersUserPycharmProjectsodoo13venvlibsite-packagesrequestsadapters.py”, line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: (‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’))