Template fallback
An error occurred while rendering the template ir.ui.view(550,).
If this error is caused by a change of yours in the templates, you have the possibility to reset the template to its factory settings.
- Template Header Mobile
Restore previous version (soft reset). Reset to initial version (hard reset).
QWeb
Error message:
Error while render the template ValueError: Element '<xpath expr="//a[hasclass('oe_unremovable')]">' cannot be located in parent view Template: ir.ui.view(550,) Path: /t/t/div/div/div[2]/ul[2]/t[4] Node: <t t-call="website.header_call_to_action_large"/>
The error occurred while rendering the template ir.ui.view(550,) and evaluating the following expression: <t t-call="website.header_call_to_action_large"/>
Traceback
Traceback (most recent call last):
File "<550>", line 377, in template_550
File "<550>", line 359, in template_550_content
File "<550>", line 348, in template_550_t_call_0
File "<2387>", line 5, in not_found_template
ValueError: Element '<xpath expr="//a[hasclass('oe_unremovable')]">' cannot be located in parent view
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/odoo/src/odoo/18.0/odoo/http.py", line 1954, in _transactioning
return service_model.retrying(func, env=self.env)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/odoo/src/odoo/18.0/odoo/service/model.py", line 137, in retrying
result = func()
^^^^^^
File "/home/odoo/src/odoo/18.0/odoo/http.py", line 1921, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/odoo/src/odoo/18.0/odoo/http.py", line 2081, in dispatch
return self.request.registry['ir.http']._dispatch(endpoint)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/odoo/src/odoo/18.0/odoo/addons/base/models/ir_http.py", line 331, in _dispatch
result.flatten()
File "/home/odoo/src/odoo/18.0/odoo/http.py", line 1388, in flatten
self.response.append(self.render())
^^^^^^^^^^^^^
File "/home/odoo/src/odoo/18.0/odoo/http.py", line 1380, in render
return request.env["ir.ui.view"]._render_template(self.template, self.qcontext)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/odoo/src/odoo/18.0/addons/website/models/ir_ui_view.py", line 449, in _render_template
return super()._render_template(template, values=values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/odoo/src/odoo/18.0/odoo/addons/base/models/ir_ui_view.py", line 2185, in _render_template
return self.env['ir.qweb']._render(template, values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/odoo/src/odoo/18.0/odoo/tools/profiler.py", line 306, in _tracked_method_render
return method_render(self, template, values, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/odoo/src/odoo/18.0/odoo/addons/base/models/ir_qweb.py", line 600, in _render
result = ''.join(rendering)
^^^^^^^^^^^^^^^^^^
File "<541>", line 39, in template_541
File "<541>", line 28, in template_541_content
File "<543>", line 1656, in template_543
File "<543>", line 1478, in template_543_content
File "/home/odoo/src/odoo/18.0/odoo/addons/base/models/ir_qweb.py", line 2524, in _load_values
return get_value()
^^^^^^^^^^^
File "<543>", line 1468, in template_543_t_cache_22_cache
File "<543>", line 1031, in template_543_t_cache_22
File "<550>", line 385, in template_550
odoo.addons.base.models.ir_qweb.QWebException: Error while render the template
ValueError: Element '<xpath expr="//a[hasclass('oe_unremovable')]">' cannot be located in parent view
Template: ir.ui.view(550,)
Path: /t/t/div/div/div[2]/ul[2]/t[4]
Node: <t t-call="website.header_call_to_action_large"/>