Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5166 มุมมอง

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']], 

});

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ธ.ค. 24
1266
0
มิ.ย. 18
4640
0
มี.ค. 25
1038
2
มิ.ย. 20
5785
0
มี.ค. 15
4723