Odoo Help

Welcome!

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.

1

Acces ERROR IN ODOO

By
Drees Far
on 10/15/15, 3:39 PM 629 views

Hello guys!!!

i have created a new user who is not an employee nor an officer or manager (Human ressources)

I got this error

who can help please

2015-10-15 19:35:32,883 4563 ERROR odoo werkzeug: Error on request:

Traceback (most recent call last):

File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi

execute(self.server.app)

File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute

application_iter = app(environ, start_response)

File "/opt/odoo/odoo/openerp/service/server.py", line 285, in app

return self.app(e, s)

File "/opt/odoo/odoo/openerp/service/wsgi_server.py", line 216, in application

return application_unproxied(environ, start_response)

File "/opt/odoo/odoo/openerp/service/wsgi_server.py", line 202, in application_unproxied

result = handler(environ, start_response)

File "/opt/odoo/odoo/openerp/http.py", line 1290, in __call__

return self.dispatch(environ, start_response)

File "/opt/odoo/odoo/openerp/http.py", line 1264, in __call__

return self.app(environ, start_wrapped)

File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 588, in __call__

return self.app(environ, start_response)

File "/opt/odoo/odoo/openerp/http.py", line 1435, in dispatch

result = ir_http._dispatch()

File "/opt/odoo/odoo/addons/website/models/ir_http.py", line 148, in _dispatch

resp = super(ir_http, self)._dispatch()

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_http.py", line 177, in _dispatch

return self._handle_exception(e)

File "/opt/odoo/odoo/addons/website/models/ir_http.py", line 196, in _handle_exception

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

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_http.py", line 147, in _handle_exception

return request._handle_exception(exception)

File "/opt/odoo/odoo/openerp/http.py", line 665, in _handle_exception

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

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_http.py", line 173, in _dispatch

result = request.dispatch()

File "/opt/odoo/odoo/openerp/http.py", line 683, in dispatch

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

File "/opt/odoo/odoo/openerp/http.py", line 309, in _call_function

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

File "/opt/odoo/odoo/openerp/service/model.py", line 113, in wrapper

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

File "/opt/odoo/odoo/openerp/http.py", line 306, in checked_call

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

File "/opt/odoo/odoo/openerp/http.py", line 802, in __call__

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

File "/opt/odoo/odoo/openerp/http.py", line 402, in response_wrap

response = f(*args, **kw)

File "/opt/odoo/odoo/addons/web/controllers/main.py", line 477, in web_client

menu_data = request.registry['ir.ui.menu'].load_menus(request.cr, request.uid, context=request.context)

File "/opt/odoo/odoo/openerp/api.py", line 241, in wrapper

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

File "<string>", line 2, in load_menus

File "/opt/odoo/odoo/openerp/tools/cache.py", line 122, in lookup

value = d[key] = self.method(*args, **kwargs)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_ui_menu.py", line 381, in load_menus

menu_root_ids = self.get_user_roots(cr, uid, context=context)

File "/opt/odoo/odoo/openerp/api.py", line 241, in wrapper

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

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_ui_menu.py", line 355, in get_user_roots

return self.search(cr, uid, menu_domain, context=context)

File "/opt/odoo/odoo/openerp/api.py", line 241, in wrapper

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

File "/opt/odoo/odoo/addons/mail/mail_group_menu.py", line 42, in search

context=context, count=False)

File "/opt/odoo/odoo/openerp/api.py", line 241, in wrapper

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

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_ui_menu.py", line 117, in search

limit=None, order=order, context=context, count=False)

File "/opt/odoo/odoo/openerp/api.py", line 241, in wrapper

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

File "/opt/odoo/odoo/openerp/models.py", line 1642, in search

return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)

File "/opt/odoo/odoo/openerp/api.py", line 241, in wrapper

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

File "/opt/odoo/odoo/openerp/models.py", line 4632, in _search

self.check_access_rights(cr, access_rights_uid or user, 'read')

File "/opt/odoo/odoo/openerp/api.py", line 241, in wrapper

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

File "/opt/odoo/odoo/openerp/models.py", line 3491, in check_access_rights

return self.pool.get('ir.model.access').check(cr, uid, self._name, operation, raise_exception)

File "/opt/odoo/odoo/openerp/api.py", line 241, in wrapper

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

File "<string>", line 2, in check

File "/opt/odoo/odoo/openerp/tools/cache.py", line 122, in lookup

value = d[key] = self.method(*args, **kwargs)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_model.py", line 800, in check

raise openerp.exceptions.AccessError(msg % msg_params)

AccessError: ('AccessError', u"D\xe9sol\xe9, vous n'\xeates pas autoris\xe9 \xe0 acc\xe9der \xe0 ce document. Seuls les utilisateurs avec les niveaux d'acc\xe8s suivants sont actuellement autoris\xe9 \xe0 faire cela:\n- Portal\n\t- Human Resources/Employee\n\t- Administration/Settings\n\n(Mod\xe8le de document: ir.ui.menu)") 

0

Pawan

--Pawan--
1267
| 4 3 5
Hyderabad, India
--Pawan--


Pawan
On 10/16/15, 1:23 AM

Dress,

Please check to which group does your created user belong to...

If it does not belong to any group  then please assign it to some group and make sure that group has "ir.ui.menu" object in access rights TAB

or, simply keep it in Employee group(You still don't need to create any employee for that) as it already has access to that object.

But, if it's already assigned to some group then please give access right for ir.ui.menu object to that group.

Hope It helps!    

Thanks a lot for your help pawan. I have added the access to ir.ui.menu its ok i do not have the error again but i have only a white page despite the fact that i have gave to my user other access :/

Drees Far
on 10/16/15, 4:40 AM

Drees
Sorry, but i didn't got u

Pawan
on 10/16/15, 6:25 AM

r u getting any message or something?? where are you getting blank page?

Pawan
on 10/16/15, 6:26 AM

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)

Stats

Asked: 10/15/15, 3:39 PM
Seen: 629 times
Last updated: 11/21/15, 6:12 AM