Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Clicking on any user in Users option gives error

Sanjin Šarić
on 5/8/15, 10:33 AM 1,225 views

Traceback (most recent call last):

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 530, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 567, in dispatch

result = self._call_function(**self.params)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 303, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper

return f(dbname, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 300, in checked_call

return self.endpoint(*a, **kw)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 796, in __call__

return self.method(*args, **kw)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 396, in response_wrap

response = f(*args, **kw)

File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 936, in call_kw

return self._call_kw(model, method, args, kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 928, in _call_kw

return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/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 "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/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 "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_ui_view.py", line 369, in raise_view_error

raise AttributeError(message)

AttributeError: Field `in_group_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]

I get this error after I try to click on any user on Users option.

Can anybody help me debug this? I had similar error like this and I had to restore database which I do not intend to do every time i get small errors like this.


Keith John Hutchison
On 11/30/15, 7:56 PM

I had the same issue after upgrading another module. I discovered a post where it was suggested that upgrading the Base Module was the elegant way to resolve this. It worked for me.

1. Click on Settings.
2. Click on Local Modules.
2.1 Remove the 'Apps' tag top right.
2.2 Create a 'Base' tag top right.
3. Click on the Base module.
4. Click on the upgrade button.
4.1 Wait a fair while. Ignore any messages saying timeout.
5. When you can log back clicking on settings...users..userName now works.

Marvin Taboada
On 8/26/15, 10:32 PM

Sanjin, Brad, the stack-trace reveals you are having problems rendering the default form-view for users (`base.view_users_form`) in Odoo v8.

This is a very particular view where the many2many `groups_id` field is transformed by python code (overriding ORM and view related methods) into many virtual fields that appear under "Access Rights" (selection and boolean fields for all the available groups, grouped by "Application"). The bug arises at rendering these fields.

Please see the following Odoo issue at GitHub, it may provide a fix for this problem:


If that's not the case, I'm afraid we won't be able to help you without more information like the list of installed modules (thirty party included) and any other hints like any customized modules.


Brad Ridgeway
On 8/26/15, 4:15 PM


Did you ever find a solution to this error?  I am getting the exact same error!


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


Asked: 5/8/15, 10:33 AM
Seen: 1225 times
Last updated: 10/12/16, 7:26 AM