Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4604 Представления

<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
802
9
мар. 20
42033
2
окт. 18
3948
1
окт. 17
4203
1
мар. 15
4650