CybroOdoo / OpenHRMS

GNU Affero General Public License v3.0
137 stars 223 forks source link

Odoo 15 - Open HRMS not working with Code Backend Theme #89

Open t0rnstr1ng opened 2 years ago

t0rnstr1ng commented 2 years ago

Hello there,

after installing Code Backend Theme I get WSOD with following error:

2022-10-27 07:01:37,053 1 ERROR odootest werkzeug: Error on request: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in _dispatch result = request.dispatch() File "/usr/lib/python3/dist-packages/odoo/http.py", line 810, in dispatch r = self._call_function(self.params) File "/usr/lib/python3/dist-packages/odoo/http.py", line 359, in _call_function return checked_call(self.db, *args, *kwargs) File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper return f(dbname, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/http.py", line 348, in checked_call result = self.endpoint(*a, kw) File "/usr/lib/python3/dist-packages/odoo/http.py", line 916, in call return self.method(*args, *kw) File "/usr/lib/python3/dist-packages/odoo/http.py", line 535, in response_wrap response = f(args, kw) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 946, in qweb content = HomeStaticTemplateHelpers.get_qweb_templates(mods, db, debug=request.session.debug, bundle=bundle) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 575, in get_qweb_templates return cls(addons, db, debug=debug)._get_qweb_templates(bundle)[0] File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 566, in _get_qweb_templates content, checksum = self._concat_xml(xml_paths) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 536, in _concat_xml xml = self._compute_xml_tree(addon, fname, contents) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 466, in _compute_xml_tree inherited_template = apply_inheritance_specs(parent_tree, xpaths) File "/usr/lib/python3/dist-packages/odoo/tools/template_inheritance.py", line 254, in apply_inheritance_specs raise ValueError( Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 323, in run_wsgi execute(self.server.app) File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 312, in execute application_iter = app(environ, start_response) File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 482, in app return self.app(e, s) File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 112, in application return application_unproxied(environ, start_response) File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 87, in application_unproxied result = odoo.http.root(environ, start_response) File "/usr/lib/python3/dist-packages/odoo/http.py", line 1336, in call return self.dispatch(environ, start_response) File "/usr/lib/python3/dist-packages/odoo/http.py", line 1302, in call return self.app(environ, start_wrapped) File "/usr/lib/python3/dist-packages/werkzeug/middleware/shared_data.py", line 260, in call return self.app(environ, start_response) File "/usr/lib/python3/dist-packages/odoo/http.py", line 1531, in dispatch result = ir_http._dispatch() File "/usr/lib/python3/dist-packages/odoo/addons/utm/models/ir_http.py", line 29, in _dispatch response = super(IrHttp, cls)._dispatch() File "/usr/lib/python3/dist-packages/odoo/addons/http_routing/models/ir_http.py", line 519, in _dispatch result = super(IrHttp, cls)._dispatch() File "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/ir_http.py", line 19, in _dispatch return super(Http, cls)._dispatch() File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_http.py", line 21, in _dispatch return super(IrHttp, cls)._dispatch() File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 241, in _dispatch return cls._handle_exception(e) File "/usr/lib/python3/dist-packages/odoo/addons/utm/models/ir_http.py", line 34, in _handle_exception response = super(IrHttp, cls)._handle_exception(exc) File "/usr/lib/python3/dist-packages/odoo/addons/http_routing/models/ir_http.py", line 620, in _handle_exception return super(IrHttp, cls)._handle_exception(exception) File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 209, in _handle_exception return request._handle_exception(exception) File "/usr/lib/python3/dist-packages/odoo/http.py", line 748, in _handle_exception return super(HttpRequest, self)._handle_exception(exception) File "/usr/lib/python3/dist-packages/odoo/http.py", line 301, in _handle_exception raise exception.with_traceback(None) from new_cause ValueError: Element '' cannot be located in parent view - - -

Could you please take a look at this issue?

Thanks.