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

I try to link the inbox in odoo with a new menuitem, but I can't debug the model or the view of that inbox.

Can someone help me? I need the res_model and the view_id of that inbox in messages.


Avatar
Hylkää
Paras vastaus

I dig into this when you post it and that menuitem is an action client meaning that there is a widget like view for that specific view. If you wanna reuse it in another menu you need to declare something like this from the original Odoo code:

<record id="mail_inboxfeeds" model="ir.ui.menu">

<field name="name">Inbox</field>

<field name="sequence" eval="10"/>

<field name="action" ref="mail.action_mail_inbox_feeds"/>

<field name="parent_id" ref="mail.mail_feeds"/>

</record>


Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
huhtik. 16
5764
6
syysk. 23
107229
3
maalisk. 23
24178
2
heinäk. 19
4206
0
helmik. 17
3248