Odoo Server Error
Traceback (most recent call last):
File "/odoo/odoo-server/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/odoo/odoo-server/odoo/http.py", line 684, in dispatch
result = self._call_function(**self.params)
File "/odoo/odoo-server/odoo/http.py", line 360, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odoo/odoo-server/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/odoo/odoo-server/odoo/http.py", line 348, in checked_call
result = self.endpoint(*a, **kw)
File "/odoo/odoo-server/odoo/http.py", line 913, in __call__
return self.method(*args, **kw)
File "/odoo/odoo-server/odoo/http.py", line 532, in response_wrap
response = f(*args, **kw)
File "/odoo/odoo-server/addons/web/controllers/main.py", line 1389, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/odoo/odoo-server/addons/web/controllers/main.py", line 1381, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/odoo/odoo-server/odoo/api.py", line 399, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/odoo/odoo-server/odoo/api.py", line 386, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/odoo/odoo-server/odoo/models.py", line 6249, in onchange
todo = [
File "/odoo/odoo-server/odoo/models.py", line 6252, in <listcomp>
if name not in done and snapshot0.has_changed(name)
File "/odoo/odoo-server/odoo/models.py", line 6069, in has_changed
return self[name] != record[name]
File "/odoo/odoo-server/odoo/models.py", line 5667, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/odoo/odoo-server/odoo/fields.py", line 2485, in __get__
return super().__get__(records, owner)
File "/odoo/odoo-server/odoo/fields.py", line 969, in __get__
self.recompute(record)
File "/odoo/odoo-server/odoo/fields.py", line 1155, in recompute
self.compute_value(recs)
File "/odoo/odoo-server/odoo/fields.py", line 1177, in compute_value
records._compute_field_value(self)
File "/odoo/odoo-server/addons/mail/models/mail_thread.py", line 410, in _compute_field_value
return super()._compute_field_value(field)
File "/odoo/odoo-server/odoo/models.py", line 4062, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/addons/l10n-italy/l10n_it_fatturapa_in/models/attachment.py", line 100, in _compute_xml_data
fatt = wiz_obj.get_invoice_obj(att)
File "/opt/odoo/addons/l10n-italy/l10n_it_fatturapa_in/wizard/wizard_import_fatturapa.py", line 1652, in get_invoice_obj
return efattura.CreateFromDocument(xml_string)
File "/opt/odoo/addons/l10n-italy/l10n_it_fatturapa_in/wizard/efattura.py", line 240, in CreateFromDocument
validat = validator.to_dict(tree, dict_class=ObjectDict)
File "/usr/local/lib/python3.8/dist-packages/xmlschema/validators/schemas.py", line 1994, in decode
for result in self.iter_decode(source, path, schema_path, validation, *args, **kwargs):
File "/usr/local/lib/python3.8/dist-packages/xmlschema/validators/schemas.py", line 1925, in iter_decode
schema = self.get_schema(namespace)
File "/usr/local/lib/python3.8/dist-packages/xmlschema/validators/schemas.py", line 1081, in get_schema
raise XMLSchemaKeyError('the namespace {!r} is not loaded'.format(namespace)) from None
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/odoo/odoo-server/odoo/http.py", line 640, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo/odoo-server/odoo/http.py", line 316, in _handle_exception
raise exception.with_traceback(None) from new_cause
xmlschema.exceptions.XMLSchemaKeyError: "the namespace 'http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fattura/messaggi/v1.0' is not loaded"