Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
1176 Näkymät

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
Hylkää
Tekijä Paras vastaus

Thanks. 

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

Avatar
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
4
toukok. 25
2491
2
toukok. 25
5849
2
huhtik. 25
4538
1
maalisk. 25
1679
4
maalisk. 25
4458