콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
2915 화면

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