コンテンツへスキップ
メニュー
この質問にフラグが付けられました
5148 ビュー

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
1250
0
6月 18
4637
0
3月 25
1028
2
6月 20
5777
0
3月 15
4717