跳至內容
選單
此問題已被標幟
2727 瀏覽次數

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
2885
0
3月 15
4654
0
9月 24
818
0
3月 24
737
0
8月 23
1397