Here I have created a separate user group for handle users. Let's assume it is as group 'A'. I have allowed 'A' to see the menu item 'settings/users'. and allowed to read/write/create/delete for 'res.users' model. Now there is a user 'xyz' in the group of 'A'. Now 'xzy' can see 'settings/users' menu and can see all user accounts from that. When I clicked a record of any of one user, It will show "AttributeError: Field `sel_groups_5_14_15` does not exist" error prompt. Any user that added to the group 'A', face this problem. None of others see this error. What would be the issue and how I can solve it. Can any one help me?
see this stack trace.
Odoo Server Error
Traceback (most recent call last):
File "/home/sanatht/odoo/odoo/openerp/http.py", line 531, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/sanatht/odoo/odoo/openerp/http.py", line 568, in dispatch
result = self._call_function(**self.params)
File "/home/sanatht/odoo/odoo/openerp/http.py", line 303, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/sanatht/odoo/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/home/sanatht/odoo/odoo/openerp/http.py", line 300, in checked_call
return self.endpoint(*a, **kw)
File "/home/sanatht/odoo/odoo/openerp/http.py", line 797, in __call__
return self.method(*args, **kw)
File "/home/sanatht/odoo/odoo/openerp/http.py", line 397, in response_wrap
response = f(*args, **kw)
File "/home/sanatht/odoo/odoo/addons/web/controllers/main.py", line 937, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/home/sanatht/odoo/odoo/addons/web/controllers/main.py", line 929, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/home/sanatht/odoo/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/home/sanatht/odoo/odoo/openerp/models.py", line 1544, in fields_view_get
xarch, xfields = View.postprocess_and_fields(cr, uid, self._name, etree.fromstring(result['arch']), view_id, context=ctx)
File "/home/sanatht/odoo/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/home/sanatht/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 844, in postprocess_and_fields
self.raise_view_error(cr, user, message, view_id, context)
File "/home/sanatht/odoo/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/home/sanatht/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 369, in raise_view_error
raise AttributeError(message)
AttributeError: Field `sel_groups_5_14_15` does not exist
Error context:
View `res.users.form`
[view_id: 153, xml_id: base.view_users_form, model: res.users, parent_id: n/a]
It seems you have removed some groups! Try upgrading base module.
No. I have not removed any group. But I have upgraded the Base Module. No any changes.
Did you solve it? When I update « base » module, I can get the user form. But if I update my custom module once again, it is impossible to edit a user form.