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.

2

Menu item appears only for some users

By
Ben Finney
on 4/9/15, 10:45 PM 922 views

How can I configure which users can see a menu item?

In an existing OpenERP 6.1 installation, I (as the admin user) can see a menu item and all the contained items, but another user doesn't see that menu item at all.

Where are the access controls defined for which menu items are visible to which users?


5

Anil R. Kesariya

--Anil R. Kesariya--
4321
| 6 5 8
Gandhinagar, India
--Anil R. Kesariya--
ERP Consultant

Key Skill
-
Technical & Functional Expert
Anil R. Kesariya
On 4/10/15, 1:36 AM

Ben Finney,

There are two ways.

1) Database Level.

2) Code

1) Database Level:

Instruciton: Make sure that user has the access control of that model which you can to access from that menu.

Key points:

If user doesn't have the access control for particular model than user will not able able to see those menu which trigger the information of that model.

Here you go!

How to create access control for groups?

Setting>>Technical>>Security>>Access Control List

Create access control for model/object for specifc group if doesn't created.

How to assign Groups to Menu?

Setting>>Technical>>User Interface>>Menu Items

Search your menu and add groups of that Users group.

If you want to uniquely identify this user than create your own group or else use the existing group which is assigned to that user.

Creating your own group.

Setting>>Users>>Groups

By following this steps you can achieve your menu access from database level.


2) Code.

i ) You need group to use in access control, either use existing group or create your own.

ii) Create access control list for that user group with particular object/model.

iii) If there are already access control created and menu doesn't appear than assign your group to that menu.

Here you will find document how to create groups and access controls.

Click Here 

Hope this will help.

Rgds,

Anil.



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: 4/9/15, 10:45 PM
Seen: 922 times
Last updated: 4/10/15, 5:02 AM