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.


AttributeError: Field `sel_groups_5_14_15` does not exist

on 9/2/15, 2:16 AM 2,110 views

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.

Serpent Consulting Services Pvt. Ltd.
on 9/2/15, 3:22 AM

No. I have not removed any group. But I have upgraded the Base Module. No any changes.

on 9/2/15, 4:24 AM

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.

Pascal Tremblay
on 11/16/15, 6:30 PM

Pascal Tremblay

--Pascal Tremblay--
| 5 2 7
Alma, Canada
--Pascal Tremblay--

Pascal Tremblay
On 11/16/15, 6:46 PM


In my custom file, I added 'share' in the « depends » line of my __openerp__.py file. It works!

         'depends' : ['base','share'],

reference : https://github.com/odoo/odoo/issues/6324

Bidemi Ishola
On 11/4/15, 4:08 AM

You need to add it to the access right group by adding <field name="implied_ids" eval="[(4, ref('group_erp_manager'))]"/> to the custom group you have created. I think there is a restriction that makes it impossible to other group user below Access Right.

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

1 follower(s)


Asked: 9/2/15, 2:16 AM
Seen: 2110 times
Last updated: 11/16/15, 6:50 PM