Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4774 Widoki

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

Awatar
Odrzuć

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

Powiązane posty Odpowiedzi Widoki Czynność
0
mar 25
984
9
mar 20
42228
2
paź 18
4116
1
paź 17
4376
1
mar 15
4832