Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
4632 Weergaven

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

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

Gerelateerde posts Antwoorden Weergaven Activiteit
0
mrt. 25
835
9
mrt. 20
42054
2
okt. 18
3976
1
okt. 17
4221
1
mrt. 15
4659