while login by using demo user the submenu items(like Reports, Configuration) are hidden for user other than admin.
I need to know how to enable that submenu items for user other than admin
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
while login by using demo user the submenu items(like Reports, Configuration) are hidden for user other than admin.
I need to know how to enable that submenu items for user other than admin
In security xml file or some where else I need to add this code
<record id="menu_external_id" model="ir.ui.menu">
<field name="groups_id" eval="[(6, 0, [ref('base.group_user')] )]"/>
</record>
guide me details
by code mentioned in the answer right, get the external id of the menu , then write code like this,
<record id="menu_external_id" model="ir.ui.menu">
<field name="groups_id" eval="[(6, 0, [ref('base.group_user')] )]"/>
</record>
Try this it may help you,
from user interface you can change it by,
settings->user -> select demo user then change demo user to manager in all sales, purchase etc.
or settings->technical-> user interface ->menu items and select respective menu and add user group to it
By code you can achieve the same by
<record id="menu_external_id" model="ir.ui.menu">
<field name="groups_id" eval="[(6, 0, [ref('base.group_user')] )]"/>
</record>
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up