Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4077 Prikazi

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
Opusti
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
Opusti
Avtor

Do you know where i can find more information on :

key2="client_action_multi"

Related Posts Odgovori Prikazi Aktivnost
3
jul. 24
5733
1
okt. 24
2696
1
mar. 21
4182
3
feb. 23
8370
0
nov. 20
3569