Skip to Content
Menu
This question has been flagged

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

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 Replies Views Activity
9
Mar 20
40585
2
Oct 18
2657
1
Oct 17
2870
1
Mar 15
3730
2
Mar 15
5553