Skip to content

Design Themes issues please give me the solution #1204

@Sakkthiav

Description

@Sakkthiav

RPC_ERROR

Odoo Server Error

Occured on localhost:8008 on model website on 2026-01-04 08:02:09 GMT

Traceback (most recent call last):
File "/home/sakkthi/My_workspace/odoo18/odoo/odoo/http.py", line 2144, in _transactioning
return service_model.retrying(func, env=self.env)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sakkthi/My_workspace/odoo18/odoo/odoo/service/model.py", line 156, in retrying
result = func()
^^^^^^
File "/home/sakkthi/My_workspace/odoo18/odoo/odoo/http.py", line 2111, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sakkthi/My_workspace/odoo18/odoo/odoo/http.py", line 2359, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sakkthi/My_workspace/odoo18/odoo/odoo/addons/base/models/ir_http.py", line 333, in _dispatch
result = endpoint(**request.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sakkthi/My_workspace/odoo18/odoo/odoo/http.py", line 754, in route_wrapper
result = endpoint(self, *args, **params_ok)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sakkthi/My_workspace/odoo18/odoo/addons/web/controllers/dataset.py", line 36, in call_kw
return call_kw(request.env[model], method, args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sakkthi/My_workspace/odoo18/odoo/odoo/api.py", line 535, in call_kw
result = getattr(recs, name)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sakkthi/My_workspace/odoo18/odoo/addons/website/models/website.py", line 563, in configurator_apply
redirect_url = theme.button_choose_theme()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sakkthi/My_workspace/odoo18/odoo/addons/website/models/ir_module_module.py", line 404, in button_choose_theme
self._theme_upgrade_upstream()
File "/home/sakkthi/My_workspace/odoo18/odoo/addons/website/models/ir_module_module.py", line 358, in _theme_upgrade_upstream
self._button_immediate_function(install_or_upgrade)
File "/home/sakkthi/My_workspace/odoo18/odoo/odoo/addons/base/models/ir_module.py", line 611, in _button_immediate_function
registry = modules.registry.Registry.new(self.cr.dbname, update_module=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sakkthi/My_workspace/odoo18/18-odoo-venv/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sakkthi/My_workspace/odoo18/odoo/odoo/tools/func.py", line 97, in locked
return func(inst, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sakkthi/My_workspace/odoo18/odoo/odoo/modules/registry.py", line 129, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/home/sakkthi/My_workspace/odoo18/odoo/odoo/modules/loading.py", line 489, in load_modules
processed_modules += load_marked_modules(env, graph,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sakkthi/My_workspace/odoo18/odoo/odoo/modules/loading.py", line 365, in load_marked_modules
loaded, processed = load_module_graph(
^^^^^^^^^^^^^^^^^^
File "/home/sakkthi/My_workspace/odoo18/odoo/odoo/modules/loading.py", line 228, in load_module_graph
load_data(env, idref, mode, kind='data', package=package)
File "/home/sakkthi/My_workspace/odoo18/odoo/odoo/modules/loading.py", line 72, in load_data
tools.convert_file(env, package.name, filename, idref, mode, noupdate, kind)
File "/home/sakkthi/My_workspace/odoo18/odoo/odoo/tools/convert.py", line 615, in convert_file
convert_xml_import(env, module, fp, idref, mode, noupdate)
File "/home/sakkthi/My_workspace/odoo18/odoo/odoo/tools/convert.py", line 669, in convert_xml_import
relaxng.assert
(doc)
File "src/lxml/etree.pyx", line 3823, in lxml.etree.Validator.assert
AssertionError: Element odoo has extra content: asset, line 4

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
RPC_ERROR
at makeErrorFromResponse (http://localhost:8008/web/assets/72f0d0e/web.assets_web.min.js:3148:163)
at XMLHttpRequest. (http://localhost:8008/web/assets/72f0d0e/web.assets_web.min.js:3153:13)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions