跳至内容
菜单
此问题已终结
3113 查看

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>

形象
丢弃
相关帖文 回复 查看 活动
1
7月 17
3135
0
3月 15
5003
0
9月 24
1117
0
3月 24
1018
0
8月 23
1684