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

Hello, I have a one2many dialog that opens when a user clicks on a record from a one2many list.  I have a button on the dialog that calls a method from the model.  What I would like to do is close the dialog after the method is completed without clicking the close button in the upper right corner.  In my method I have this line which I thought would close the dialog, but for some reason it isnt

 

    return {'type': 'ir.actions.act_window_close'}

 

If someone can please help me I would appreciate it. Thank you

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 22
3326
3
thg 9 17
7840
1
thg 8 16
9059
0
thg 7 15
3652
0
thg 3 15
4531