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
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
|Asked: 9/7/14, 11:34 PM|
|Seen: 881 times|
|Last updated: 3/16/15, 8:10 AM|