Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
4748 Tampilan

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

Avatar
Buang

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

Post Terkait Replies Tampilan Aktivitas
0
Mar 25
972
9
Mar 20
42207
2
Okt 18
4098
1
Okt 17
4349
1
Mar 15
4815