Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4624 Lượt xem

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

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 25
829
Expected singleton Đã xử lý
9
thg 3 20
42051
2
thg 10 18
3973
1
thg 10 17
4218
1
thg 3 15
4656