Skip to Content
Menu
This question has been flagged
4659 Rodiniai

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

Portretas
Atmesti

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 Rodiniai Veikla
0
kov. 25
874
9
kov. 20
42089
2
spal. 18
3996
1
spal. 17
4245
1
kov. 15
4682