Skip to Content
Menú
This question has been flagged
4611 Vistes

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

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 Respostes Vistes Activitat
0
de març 25
808
9
de març 20
42034
2
d’oct. 18
3950
1
d’oct. 17
4205
1
de març 15
4650