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

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
3478
0
3月 15
5351
0
9月 24
1508
0
3月 24
1399
0
8月 23
2030