Skip to Content
Menú
This question has been flagged
3 Respostes
5658 Vistes

Hello all,

I need to open cart edit form in pop while moving on another stages.

I can't find id or any other clue. for this what i have to do write js or python code needed ?

if JavaScript code then where i should write ?

Please anyone help me.

Avatar
Descartar

you have to change in your js file

Best Answer

on onchange return action from the server (similar to a warning)

handle it here and call do_action 

​https://github.com/odoo/odoo/blob/11.0/addons/web/static/src/js/views/basic/basic_model.js#L3558

if (result.action) {
      self.do_action(result.action)                                                                                                                        
}

Avatar
Descartar
Autor Best Answer


but how can i get the form of particular cart by JavaScript code ?

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de nov. 20
3544
0
d’ag. 23
194
1
de juny 23
2666
1
d’abr. 23
21729
1
de maig 22
9261