跳至內容
選單
此問題已被標幟
1 回覆
3938 瀏覽次數

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 ?


頭像
捨棄
最佳答案

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>
頭像
捨棄
作者

Do you know where i can find more information on :

key2="client_action_multi"

相關帖文 回覆 瀏覽次數 活動
3
7月 24
5549
1
10月 24
2550
1
3月 21
4038
3
2月 23
8121
0
11月 20
3379