Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
5076 Vues

Hello All,

How to hide the existing menu by using it's xml ID from the website menu bar?

Is it possible?


Regards,

Prince.


Avatar
Ignorer
Meilleure réponse

You can also hide a menu using XML.

<record id="original_module.menu_id" model="ir.ui.menu">
    <field name="groups_id" eval="[(3, ref('my_new_group_id'))]" />
<record>
Avatar
Ignorer
Meilleure réponse

dear Prince Caspion,

you can delete menus by this code

<delete model="ir.ui.menu" id="ModuleName.menu id"/>

another way you can create new hide group and then assigned to any menus you do not need . this group not assigned to any user. I think this is better way.

I hope i helped you..
Avatar
Ignorer
Publications associées Réponses Vues Activité
1
mai 25
9756
1
avr. 24
2003
1
févr. 23
2215
0
oct. 21
2792
7
mars 24
9411