Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4628 Zobrazení

<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
Zrušit

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 Odpovědi Zobrazení Aktivita
0
bře 25
834
9
bře 20
42053
2
říj 18
3974
1
říj 17
4218
1
bře 15
4658