-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
Odoo Version
18.0
What are the steps to reproduce the issue?
- Create a new database with English (US) as Language
- Install marketing_agency module and select Load demo data
- Log out
- Log in again using the admin user
What is the current behavior you observe?
A 500 Internal Server Error occurs on login.
Below is the relevant traceback:
2025-10-14 09:24:51,882 751005 ERROR test-marketing_agency2 odoo.http: Exception during request handling.
Traceback (most recent call last):
File "<184>", line 51, in template_184
File "<184>", line 40, in template_184_content
File "<1349>", line 5, in not_found_template
ValueError: Element '<xpath expr="//header//nav">' cannot be located in parent view
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/tafaru/dev/odoo18/odoo/odoo/http.py", line 2554, in __call__
response = request._serve_db()
File "/home/tafaru/dev/odoo18/odoo/odoo/http.py", line 2081, in _serve_db
return self._transactioning(
File "/home/tafaru/dev/odoo18/odoo/odoo/http.py", line 2144, in _transactioning
return service_model.retrying(func, env=self.env)
File "/home/tafaru/dev/odoo18/odoo/odoo/service/model.py", line 156, in retrying
result = func()
File "/home/tafaru/dev/odoo18/odoo/odoo/http.py", line 2111, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/home/tafaru/dev/odoo18/odoo/odoo/http.py", line 2272, in dispatch
return self.request.registry['ir.http']._dispatch(endpoint)
File "/home/tafaru/dev/odoo18/odoo/odoo/addons/base/models/ir_http.py", line 335, in _dispatch
result.flatten()
File "/home/tafaru/dev/odoo18/odoo/odoo/tools/facade.py", line 83, in wrap_func
func(self._wrapped__, *args, **kwargs)
File "/home/tafaru/dev/odoo18/odoo/odoo/http.py", line 1418, in flatten
self.response.append(self.render())
File "/home/tafaru/dev/odoo18/odoo/odoo/http.py", line 1410, in render
return request.env["ir.ui.view"]._render_template(self.template, self.qcontext)
File "/home/tafaru/dev/odoo18/odoo/addons/website/models/ir_ui_view.py", line 453, in _render_template
return super()._render_template(template, values=values)
File "/home/tafaru/dev/odoo18/odoo/odoo/addons/base/models/ir_ui_view.py", line 2218, in _render_template
return self.env['ir.qweb']._render(template, values)
File "/home/tafaru/dev/odoo18/odoo/odoo/tools/profiler.py", line 313, in _tracked_method_render
return method_render(self, template, values, **options)
File "/home/tafaru/dev/odoo18/odoo/odoo/addons/base/models/ir_qweb.py", line 607, in _render
result = ''.join(rendering)
File "<185>", line 237, in template_185
File "<185>", line 226, in template_185_content
File "<184>", line 59, in template_184
odoo.addons.base.models.ir_qweb.QWebException: Error while render the template
ValueError: Element '<xpath expr="//header//nav">' cannot be located in parent view
Template: web.login_layout
Path: /t/t
Node: <t t-call="website.layout"/>
What would you like the behavior/result to be?
The database should allow the admin user to log in successfully without errors, and the instance should be usable.
Metadata
Metadata
Assignees
Labels
No labels