İçereği Atla
Menü
Bu soru işaretlendi
4756 Görünümler

<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
Vazgeç

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Mar 25
978
9
Mar 20
42224
2
Eki 18
4103
1
Eki 17
4359
1
Mar 15
4821