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

Version: Odoo 11

In the openacademy tutorial, there is this block code in the xml file:

       <act_window id="launch_session_wizard"
                    name="Add Attendees"
                    src_model="openacademy.session"
                    res_model="openacademy.wizard"
                    view_mode="form"
                    target="new"
                    key2="client_action_multi"/>

Where can i find more information about key2 parameter, its possible Action Event values and what do they do ?


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

Hello,

Try Below code i hope it's help you.


<record id="action_openacademy_session_view" model="ir.actions.act_window">
<field name="name">Openacademy Session</field>
<field name="res_model">openacademy.session</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
Ảnh đại diện
Huỷ bỏ
Tác giả

Do you know where i can find more information on :

key2="client_action_multi"

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 7 24
5581
1
thg 10 24
2573
1
thg 3 21
4081
3
thg 2 23
8179
0
thg 11 20
3444