Odoo Help


Menu Access to a group

Vinod Kumar
on 2/5/16, 2:35 AM 1,656 views

How to give sale menu access for newly created user group


Jignesh Mehta

--Jignesh Mehta--
| 6 5 8
Surat, India
--Jignesh Mehta--

- I have 3+ years of Industry Experience, specializing Odoo Development, Analysis, Customization, Implementation, Integration.
- I have done many Customization modules in Sale, Purchase, Point of Sale, Inventory, CRM and much more. Also Worked in the Odoo Themes like Business Theme or E-Commerce Theme.
- Develop Jewelery Manufacturing process from Scratch. It have more than 10 Department. Develop PDF and Excel reports for this project around 150 per format.

Jignesh Mehta
On 2/5/16, 4:19 AM

Hello Vinod,

You can give access rights for the menu in the ir.model.access.csv file

For Ex:-


First 1 for read,

Second 1 for write, 

Third 1 for create,

Last 1 for delete.


<menuitem name="Sales"



groups="module_name.group_name, base.group_sale_salesman,base.group_sale_manager" sequence="6"/>

Hope it works for you.


Thank you for giving answer, I know how to give access to class/table but i am not able to give access to menu can you help me out

Vinod Kumar
on 2/5/16, 4:26 AM

try to inherit sale menu and apply your custom new group.

Jignesh Mehta
on 2/5/16, 4:28 AM

I have written code like this but its not working

Vinod Kumar
on 2/9/16, 12:19 AM
Vinod Kumar
on 2/9/16, 12:21 AM
On 2/11/16, 1:51 AM

Hi Vinod Kumar

W.r.t your query, I have gone through it and tried to replicate it. Few recommendations which I would like to suggest you which might cater to your needs are as follows:-

1) Yes its possible to assign Sales Menu access for newly created user group

2) For the newly created user group in order to assign access as per group,following can be done while creation of the new groups :-

i) Firstly under Access Rights in groups you just need to add the model name and assign the rights such as READ,WRITE,CREATE & DELETE. This can be done by following Settings >Users>Groups

Refer this screen shot for more details :- http://prntscr.com/a1qzfl

ii) One prerequisite is that the models needs to be defined/developed first so that the same can be assigned along with their access rights for the newly created user groups.

In case your issue is still not solved, kindly let me know.

Hope it helps


Thank you for your answer, i know how to give access to object/model but when i am am not able to access the sales menu for newly created user group i have written code like this Here sales_team_lead is newly created group when i login with this group member i am not able to view opportunity menu

Vinod Kumar
on 2/26/16, 1:04 AM

my code when i login with user bilongs to sale_team_lead group i am not able to access opportunities menu

Vinod Kumar
on 2/26/16, 1:09 AM
On 2/9/16, 7:32 AM

better you can go with front-end. Goto settings -> security -> access control list -> make the access control list manually like this.before that you need to add the group with specific control.

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 2/5/16, 2:35 AM
Seen: 1656 times
Last updated: 2/11/16, 1:51 AM