I want to know where I can see a list of all the menuitem to be able to create new ones through an addon and choose a parent
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
I find menulist in table 'ir_model_data'.
If concat columns module and name with a dot I have my parent ID: puchase.menu_purchase_control
Good ..>Thank You
Hai,
You can see the list of the menu items from the UI, for that activate the developer mode, then navigate settings -> technical -> user interface -> menu items, here you can see all the menu items in the db.
If you want to get the list of menu through the code, you can do it like this,
menu_list = self.env['ir.ui.menu'].search([])
To get the technical name of the menu, open the menu form from UI, from settings -> technical -> user interface -> menu items, open the corresponding menu, then click on lady debugger button, then select the View metadata, there you can see the XML ID, this is the technical name of the menu. Open the developer mode to see the lady debugger button. Thanks
In settings -> technical -> user interface -> menu items I cant view "name" to reference D:
so are you looking for the technical name of the menu ? To give as the parent for some other menus....
I can't view technical name :(
click the view meta data under lady debugger button, there you can see the XML id
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
0
dic 18
|
2459 | ||
How to delete menuitem?
Risolto
|
|
7
ott 18
|
22187 | |
|
2
nov 17
|
6421 | ||
|
0
apr 17
|
2577 | ||
|
3
giu 16
|
4731 |