Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4621 Vizualizări

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

Imagine profil
Abandonează

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 Răspunsuri Vizualizări Activitate
0
mar. 25
826
9
mar. 20
42041
2
oct. 18
3967
1
oct. 17
4214
1
mar. 15
4654