i like to hide a menu for one group specifity, but when i apply delete this remove all menu for all users, but i want to hide for one groups. explain: i inherit a groups to user from warehouse, but this specifity users i dont want to show menu stock out.
for example i create a new groups users. i define in MY_module_folder/security/my_security.xml
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="0">
<record id="group_stock_manager_moseltex" model="res.groups">
<field name="name">Almacen_mosel Encargado</field>
<field name="implied_ids" eval="[(4, ref('stock.group_stock_manager'))]"/>
</record>
<record id="group_stock_user_moseltex" model="res.groups">
<field name="name">Almacen_mosel usuario</field>
<field name="category_id" ref="base.module_category_warehouse_management"/>
<field name="implied_ids" eval="[(4, ref('stock.group_stock_user'))]"/>
</record>
</data>
</openerp>
but i want to hide a menu stock out (this code put inside the my_security.xml).
<record model="ir.ui.menu" id="menu_action_picking_tree">
<field name="groups_id" eval="[ref('group_stock_manager_moseltex')]" />
but this is dont work.
i try to use this code, i think that this hide the menu for the users but this is no work.
<field name="groups_id" eval="[(3, ref('group_stock_users_moseltex'))]"/>