Expected behavior
deberia ignorar el ES y mirar el resto
Additional context
Traceback (most recent call last):
File "/opt/odoo/odoo/http.py", line 1632, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/opt/odoo/odoo/service/model.py", line 133, in retrying
result = func()
File "/opt/odoo/odoo/http.py", line 1659, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/opt/odoo/odoo/http.py", line 1863, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/opt/odoo/addons/website/models/ir_http.py", line 237, in _dispatch
response = super()._dispatch(endpoint)
File "/opt/odoo/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
result = endpoint(**request.params)
File "/opt/odoo/odoo/http.py", line 716, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo/addons/web/controllers/dataset.py", line 42, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo/api.py", line 468, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo/odoo/api.py", line 453, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/mnt/data/odoo-addons-dir/l10n_es_aeat_partner_check/models/res_partner.py", line 101, in write
partner.aeat_check_partner()
File "/mnt/data/odoo-addons-dir/l10n_es_aeat_partner_check/models/res_partner.py", line 67, in aeat_check_partner
res = soap_obj.sudo().send_soap(
File "/mnt/data/odoo-addons-dir/l10n_es_aeat/models/aeat_soap.py", line 52, in send_soap
serv = self.connect_wsdl(service, wsdl, port_name, model)
File "/mnt/data/odoo-addons-dir/l10n_es_aeat/models/aeat_soap.py", line 46, in connect_wsdl
client = self.connect_soap(wsdl, model)
File "/mnt/data/odoo-addons-dir/l10n_es_aeat/models/aeat_soap.py", line 38, in connect_soap
client = Client(wsdl=wsdl, transport=transport, plugins=[history])
File "/opt/odoo-venv/lib/python3.10/site-packages/zeep/client.py", line 73, in __init__
self.wsdl = Document(wsdl, self.transport, settings=self.settings)
File "/opt/odoo-venv/lib/python3.10/site-packages/zeep/wsdl/wsdl.py", line 92, in __init__
self.load(location)
File "/opt/odoo-venv/lib/python3.10/site-packages/zeep/wsdl/wsdl.py", line 95, in load
document = self._get_xml_document(location)
File "/opt/odoo-venv/lib/python3.10/site-packages/zeep/wsdl/wsdl.py", line 155, in _get_xml_document
return load_external(
File "/opt/odoo-venv/lib/python3.10/site-packages/zeep/loader.py", line 79, in load_external
content = transport.load(url)
File "/opt/odoo-venv/lib/python3.10/site-packages/zeep/transports.py", line 122, in load
content = self._load_remote_data(url)
File "/opt/odoo-venv/lib/python3.10/site-packages/zeep/transports.py", line 134, in _load_remote_data
response = self.session.get(url, timeout=self.load_timeout)
File "/opt/odoo-venv/lib/python3.10/site-packages/requests/sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "/opt/odoo-venv/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/opt/odoo-venv/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/opt/odoo-venv/lib/python3.10/site-packages/requests/adapters.py", line 639, in send
self.cert_verify(conn, request.url, verify, cert)
File "/opt/odoo-venv/lib/python3.10/site-packages/requests/adapters.py", line 350, in cert_verify
raise OSError(
OSError: Could not find the TLS certificate file, invalid path: /opt/certificates/publicCert.crt
The above server error caused the following client error:
null
Module
l10n_es_aeat_partner_check
Describe the bug
no se puede verificar con AEAT si el numero de IVA tiene ES
To Reproduce
Affected versions: 16 http://oca-l10n-spain-16-0-77e0950a9c23.runboat.odoo-community.org/web#action=321&model=res.partner&view_type=kanban&cids=1&menu_id=171
Steps to reproduce the behavior: 1.marcar esto
Expected behavior deberia ignorar el ES y mirar el resto
Additional context