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

<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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 25
871
Expected singleton แก้ไขแล้ว
9
มี.ค. 20
42088
2
ต.ค. 18
3994
1
ต.ค. 17
4242
1
มี.ค. 15
4682