Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4610 Переглядів

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

Аватар
Відмінити

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 Відповіді Переглядів Дія
0
бер. 25
806
Expected singleton Вирішено
9
бер. 20
42033
2
жовт. 18
3950
1
жовт. 17
4204
1
бер. 15
4650