Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2938 มุมมอง

Hai,

I  need to exetute a funtion when I click a button. Also I like to know what are the different methods for invoking the funtion written in the model.

 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

a function can be called by the following methods:

1. <button name="function_name" >

2. _defaults

3. def default_get()

4. fields.function(your_function)

5. super(your)function,self)

6.onchange()

 

 

อวตาร
ละทิ้ง

Usefull