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 tried to hide a menu using groups but it didn't work.Please see below and advise.
<menuitem id="account.menu_account_config" name="Accounting" parent="base.menu_config" groups="module1.group_hidden"/>
You have overriden the standard menu, and trying to set the group attributes.. which will just append the groups to it, as it is Many2many field,.. So use (6,0) which will replace the groups
Here your code should go like this....
<record model="ir.ui.menu" id="account.menu_account_config">
<field name="groups_id" eval="[(6,0, [ref('module1.group_hidden)])]"/>
Refer Docs: ORM Methods
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: 9/7/14, 11:34 PM|
|Seen: 1199 times|
|Last updated: 3/16/15, 8:10 AM|