Skip to Content
Menú
This question has been flagged

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

});

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de des. 24
1130
0
de juny 18
4567
0
de març 25
908
2
de juny 20
5659
0
de març 15
4662