Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
5214 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
pro 24
1332
0
čvn 18
4661
0
bře 25
1069
2
čvn 20
5851
0
bře 15
4760