Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
754 Vistas

Hi all, 

I inherited maintenance module and the xml view file. In the view file, I created a new own form view and action.

I then added a sub-menu to call the form view. The problem is that sub-menu did not show up in UI.

How can I create a new sub menu that call the new action in an inherited module? Thank you for advice. Below are codes.




                           

                                       


Avatar
Descartar
Autor Mejor respuesta

Thanks. 

I found out that I forgot to uncomment 'security' in '__manifest__' file.  My careless mistake.  Now it is working as expected

Avatar
Descartar
Mejor respuesta

Hi,

Please refer to this blog for how to create menu and sub menu.

https://www.cybrosys.com/blog/menu-submenu-and-action-in-odoo


Hope it helps

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
4
may 25
1029
2
may 25
4068
2
abr 25
3440
1
mar 25
501
4
mar 25
3182