Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am looking to restrict access to certain menu items for a custom group, but am not sure where to get the technical name for it. Looking at sale_view.xml I see groups such as base.group_multi_company, or product.group_sale_pricelist, which correspond to the groups I can search for, but I cannot seem to find a similar name to my custom groups. Any idea how to set that? Or is there a better way to add custom groups than the UI? Thanks!
Better way to impliment groups is making it using xml file with its technical (External ID) name as like in sale, purchase etc modules.
But if you want to see the technical name of any groups then you just need to export those groups. In the export file you will get the Technical (External ID) name of those groups. Most of first column is for that. And then you can use that Technical (External ID) to restrict access to certain menu items.
I hope it will help you.
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 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/28/14, 7:42 PM|
|Seen: 568 times|
|Last updated: 3/16/15, 8:10 AM|