Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4457 Lượt xem

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.


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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>


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 16
5712
6
thg 9 23
107120
3
thg 3 23
24112
2
thg 7 19
4157
0
thg 2 17
3227