Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
5421 Переглядів

Hello All,

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

Is it possible?


Regards,

Prince.


Аватар
Відмінити
Найкраща відповідь

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>
Аватар
Відмінити
Найкраща відповідь

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..
Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
трав. 25
10297
Website customization Вирішено
1
квіт. 24
2860
1
лют. 23
2893
0
жовт. 21
3014
7
бер. 24
9780