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

I need to refresh a list view with do_action from javascript. The code below works, but afterwards when I click on a record, it does not open in form view. Why? I tested in V8 and V9. 

V8 error: Uncaught Error: QWeb2 - template['ViewManagerDebug']: Runtime Error: TypeError: Cannot read property 'view_id' of undefined

V9 no error ('ViewManagerDebug' does not exist in V9)

self.do_action({

    type: 'ir.actions.act_window',

    res_model: 'ir.module.module',

    views: [[false, 'list']], 

});

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 12 24
1322
0
thg 6 18
4656
0
thg 3 25
1062
2
thg 6 20
5839
0
thg 3 15
4756