Skip to Content
Menu
This question has been flagged
1 Reply
3124 Views

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 ?


Avatar
Discard
Best Answer

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>
Avatar
Discard
Author

Do you know where i can find more information on :

key2="client_action_multi"

Related Posts Replies Views Activity
3
Jul 24
3763
1
Oct 24
756
1
Mar 21
2652
3
Feb 23
6458
0
Nov 20
2508