Skip to Content
Menu
This question has been flagged
2 Replies
2292 Views

hi

i am using odoo 10 

when i go to settings > record so it will give me error like 


ValueError: Field `protected` does not exist


Traceback (most recent call last):

  File "/odoo/odoo-server/odoo/http.py", line 638, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/odoo/odoo-server/odoo/http.py", line 675, in dispatch result = self._call_function(**self.params) File "/odoo/odoo-server/odoo/http.py", line 331, in _call_function return checked_call(self.db, *args, **kwargs) File "/odoo/odoo-server/odoo/service/model.py", line 119, in wrapper return f(dbname, *args, **kwargs) File "/odoo/odoo-server/odoo/http.py", line 324, in checked_call result = self.endpoint(*a, **kw) File "/odoo/odoo-server/odoo/http.py", line 933, in __call__ return self.method(*args, **kw) File "/odoo/odoo-server/odoo/http.py", line 504, in response_wrap response = f(*args, **kw) File "/odoo/odoo-server/addons/web/controllers/main.py", line 878, in call_kw return self._call_kw(model, method, args, kwargs) File "/odoo/odoo-server/addons/web/controllers/main.py", line 870, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/odoo/odoo-server/odoo/api.py", line 679, in call_kw return call_kw_model(method, model, args, kwargs) File "/odoo/odoo-server/odoo/api.py", line 664, in call_kw_model result = method(recs, *args, **kwargs) File "/odoo/odoo-server/odoo/models.py", line 1329, in load_views for [v_id, v_type] in views File "/odoo/odoo-server/odoo/models.py", line 1329, in <dictcomp> for [v_id, v_type] in views File "/odoo/odoo-server/odoo/models.py", line 1408, in fields_view_get xarch, xfields = View.postprocess_and_fields(self._name, etree.fromstring(result['arch']), view_id) File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 896, in postprocess_and_fields self.raise_view_error(message, view_id) File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 454, in raise_view_error raise ValueError(message)ValueError: Field `protected` does not exist

Error context:

View `ir.rule form`[view_id: 52, xml_id: base.view_rule_form, model: ir.rule, parent_id: n/a]

Avatar
Discard
Best Answer

remove "protected" field from the view view_rule_form.

Settings > User Interface -> views

Probably a module uninstalled that had added this field directly into the view.

Avatar
Discard
Related Posts Replies Views Activity
2
Nov 24
25098
2
May 24
5524
3
Mar 24
4964
0
Mar 24
264
3
Feb 24
11421