Skip to Content
Menu
This question has been flagged
693 Views

When we accidently create a field a name that already exists, Odoo crashes and is completely down.


This is very annoying. how can we solve it?

Avatar
Discard
Author

Error message:
Traceback (most recent call last):
File "<2115>", line 39, in template_2115
File "<2115>", line 28, in template_2115_content
File "<3271>", line 5, in not_found_template
ValueError: Element '<xpath expr="//a[hasclass(&#39;o_frontend_to_backend_apps_btn&#39;)]">' 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/odoo/http.py", line 1583, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/home/odoo/src/odoo/odoo/service/model.py", line 134, in retrying
result = func()
File "/home/odoo/src/odoo/odoo/http.py", line 1612, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/home/odoo/src/odoo/odoo/http.py", line 1725, in dispatch
return self.request.registry['ir.http']._dispatch(endpoint)
File "/home/odoo/src/odoo/addons/website/models/ir_http.py", line 235, in _dispatch
response = super()._dispatch(endpoint)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 151, in _dispatch
result.flatten()
File "/home/odoo/src/odoo/odoo/http.py", line 1098, in flatten
self.response.append(self.render())
File "/home/odoo/src/odoo/odoo/http.py", line 1090, in render
return request.env["ir.ui.view"]._render_template(self.template, self.qcontext)
File "/home/odoo/src/odoo/addons/website/models/ir_ui_view.py", line 418, in _render_template
return super()._render_template(template, values=values)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 2120, in _render_template
return self.env['ir.qweb']._render(template, values)
File "/home/odoo/src/odoo/odoo/tools/profiler.py", line 292, in _tracked_method_render
return method_render(self, template, values, **options)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_qweb.py", line 579, in _render
result = ''.join(rendering)
File "<2115>", line 45, in template_2115
odoo.addons.base.models.ir_qweb.QWebException: Error while render the template
ValueError: Element '<xpath expr="//a[hasclass(&#39;o_frontend_to_backend_apps_btn&#39;)]">' cannot be located in parent view
Template: 2115
Path: /t/t
Node: <t t-call="website.layout"/>