Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4601 Visualizações

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

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

Publicações relacionadas Respostas Visualizações Atividade
0
mar. 25
783
9
mar. 20
42031
2
out. 18
3947
1
out. 17
4201
1
mar. 15
4649