Hi,
I've got a problem while validating the customer invoice in Odoo 14 Enterprise.
how I can solve this?
Odoo Server Error
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/home/odoo/src/odoo/odoo/http.py", line 684, in dispatch
result = self._call_function(**self.params)
File "/home/odoo/src/odoo/odoo/http.py", line 360, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/odoo/src/odoo/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/home/odoo/src/odoo/odoo/http.py", line 348, in checked_call
result = self.endpoint(*a, **kw)
File "/home/odoo/src/odoo/odoo/http.py", line 913, in __call__
return self.method(*args, **kw)
File "/home/odoo/src/odoo/odoo/http.py", line 532, in response_wrap
response = f(*args, **kw)
File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1393, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1381, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/home/odoo/src/odoo/odoo/api.py", line 396, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/home/odoo/src/odoo/odoo/api.py", line 383, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/home/odoo/src/odoo/addons/sale/models/account_move.py", line 14, in action_post
res = super(AccountMove, self).action_post()
File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 2596, in action_post
self._post(soft=False)
File "/home/odoo/src/enterprise/l10n_cl_edi/models/account_move.py", line 121, in _post
move._l10n_cl_create_dte()
File "/home/odoo/src/enterprise/l10n_cl_edi/models/account_move.py", line 430, in _l10n_cl_create_dte
signed_dte = self._sign_full_xml(
File "/home/odoo/src/enterprise/l10n_cl_edi/models/l10n_cl_edi_util.py", line 237, in _sign_full_xml
self._xml_validator(full_doc, xml_type, is_doc_type_voucher)
File "/home/odoo/src/enterprise/l10n_cl_edi/models/l10n_cl_edi_util.py", line 193, in _xml_validator
return xml_utils._check_with_xsd(xml_to_validate, xsd_fname, self.env)
File "/home/odoo/src/odoo/odoo/tools/xml_utils.py", line 49, in _check_with_xsd
xsd_schema = etree.XMLSchema(etree.parse(stream, parser=parser))
File "src/lxml/xmlschema.pxi", line 86, in lxml.etree.XMLSchema.__init__
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/http.py", line 640, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/odoo/src/odoo/odoo/http.py", line 316, in _handle_exception
raise exception.with_traceback(None) from new_cause
lxml.etree.XMLSchemaParseError: Element '{http://www.w3.org/2001/XMLSchema}include': Failed to load the document 'SiiTypes_v10.xsd' for inclusion., line 2