Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2825 Lượt xem

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>

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 17
2913
0
thg 3 15
4759
0
thg 9 24
883
0
thg 3 24
773
0
thg 8 23
1437