Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4633 Visualizzazioni

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

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

Post correlati Risposte Visualizzazioni Attività
0
mar 25
836
9
mar 20
42054
2
ott 18
3976
1
ott 17
4221
1
mar 15
4659