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

<button name="refuse_reason_action" string="Yes" type="object" class="oe_highlight"/>

class HrAppRefuseWiz(models.TransientModel): 

 _name = 'hr.applicant.refuse.wizard'

 refuse_reason = fields.Text('Refuse Reason')

@api.multi

def refuse_reason_action(self): 

if self: 

code logic 

when i put method my module stock working when i comment code of method where i'm wrong ....

아바타
취소

What happens when you click on the button? Do you get any error or what? Please post your code of the method as well.

관련 게시물 답글 화면 활동
0
3월 25
958
Expected singleton 해결 완료
9
3월 20
42204
2
10월 18
4097
1
10월 17
4346
1
3월 15
4814