コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4618 ビュー

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

関連投稿 返信 ビュー 活動
0
3月 25
821
9
3月 20
42040
2
10月 18
3959
1
10月 17
4211
1
3月 15
4654