跳至内容
菜单
此问题已终结

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

});

形象
丢弃
相关帖文 回复 查看 活动
0
12月 24
1932
0
6月 18
5102
0
3月 25
1508
2
6月 20
6312
0
3月 15
5007