Hello
For the second time in the past week I have gotten the following error when creating fields with studio. The first time it corrected itself. Does anyone know what is causing the error? It crashes my database.
Traceback (most recent call last): File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch result = request.dispatch() File "/home/odoo/src/odoo/odoo/http.py", line 806, in dispatch r = self._call_function(**self.params) File "/home/odoo/src/odoo/odoo/http.py", line 359, in _call_function return checked_call(self.db, *args, **kwargs) File "/home/odoo/src/odoo/odoo/service/model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "/home/odoo/src/odoo/odoo/http.py", line 347, in checked_call result = self.endpoint(*a, **kw) File "/home/odoo/src/odoo/odoo/http.py", line 912, in __call__ return self.method(*args, **kw) File "/home/odoo/src/odoo/odoo/http.py", line 531, in response_wrap response = f(*args, **kw) File "/home/odoo/src/odoo/addons/website/controllers/main.py", line 78, in index website_page = request.env['ir.http']._serve_page() File "/home/odoo/src/odoo/addons/website/models/ir_http.py", line 254, in _serve_page page = request.env['website.page'].sudo().search(published_domain, order='website_id asc', limit=1) File "/home/odoo/src/odoo/odoo/models.py", line 1704, in search res = self._search(args, offset=offset, limit=limit, order=order, count=count) File "/home/odoo/src/odoo/odoo/models.py", line 4492, in _search query = self._where_calc(args) File "/home/odoo/src/odoo/odoo/models.py", line 4248, in _where_calc return expression.expression(domain, self).query File "/home/odoo/src/odoo/odoo/osv/expression.py", line 438, in __init__ self.parse() File "/home/odoo/src/odoo/odoo/osv/expression.py", line 643, in parse parent_model = model.env[field.related_field.model_name] Exception The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch result = request.dispatch() File "/home/odoo/src/odoo/odoo/http.py", line 806, in dispatch r = self._call_function(**self.params) File "/home/odoo/src/odoo/odoo/http.py", line 359, in _call_function return checked_call(self.db, *args, **kwargs) File "/home/odoo/src/odoo/odoo/service/model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "/home/odoo/src/odoo/odoo/http.py", line 347, in checked_call result = self.endpoint(*a, **kw) File "/home/odoo/src/odoo/odoo/http.py", line 912, in __call__ return self.method(*args, **kw) File "/home/odoo/src/odoo/odoo/http.py", line 531, in response_wrap response = f(*args, **kw) File "/home/odoo/src/odoo/addons/website/controllers/main.py", line 78, in index website_page = request.env['ir.http']._serve_page() File "/home/odoo/src/odoo/addons/website/models/ir_http.py", line 254, in _serve_page page = request.env['website.page'].sudo().search(published_domain, order='website_id asc', limit=1) File "/home/odoo/src/odoo/odoo/models.py", line 1704, in search res = self._search(args, offset=offset, limit=limit, order=order, count=count) File "/home/odoo/src/odoo/odoo/models.py", line 4492, in _search query = self._where_calc(args) File "/home/odoo/src/odoo/odoo/models.py", line 4248, in _where_calc return expression.expression(domain, self).query File "/home/odoo/src/odoo/odoo/osv/expression.py", line 438, in __init__ self.parse() File "/home/odoo/src/odoo/odoo/osv/expression.py", line 643, in parse parent_model = model.env[field.related_field.model_name] AttributeError: 'NoneType' object has no attribute 'model_n
Hello Doug,
We have also experienced a similar error when simply adding fields onto views. I have also only experience this issue on V14, as a team, this has happened 5-10 times since using Odoo 14.
Thanks,
Hello Jack
Thanks for the feed back. Odoo reset a server and got the database up and running have you come across this error? Again while simply trying to add fields to a view.
500: Internal Server Error
Template fallback
An error occured while rendering the template
web.frontend_layout
.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.
QWeb
Error message:
The error occured while rendering the template
web.frontend_layout
and evaluating the following expression:<t t-set="additional_title" t-value="main_object.name"/>
Traceback
Thanks
Sent: Tuesday, January 26, 2021 2:49 PM
To: Doug Jenkins
Subject: Re: Repeated Error when using studio
Hello Doug,
We have also experienced a similar error when simply adding fields onto views. I have also only experience this issue on V14, as a team, this has happened 5-10 times since using Odoo 14.
Thanks,
Sent by Odoo S.A. using Odoo.