Skip to Content
Menu
This question has been flagged

Hello,

I need to trigger javascript from backend form.

like, if i have a button in my form view and i click on it then it trigger the javascript.

my_form.xml 

<form name="view_form">

    <group>

        <field name="field1"/>

        <button type="object" name="check_connection" string="Test Connection" class="oe_link btn-link"/>

    </group>

</form>

Avatar
Discard
Related Posts Replies Views Activity
1
Jul 17
2382
0
Mar 15
4052
0
Sep 24
128
0
Mar 24
246
0
Aug 23
765