Se rendre au contenu
Menu
Cette question a été signalée

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

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

Publications associées Réponses Vues Activité
0
mars 25
806
9
mars 20
42033
2
oct. 18
3950
1
oct. 17
4204
1
mars 15
4650