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

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
Zrušit

you have to change in your js file

Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď


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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
lis 20
3485
0
srp 23
194
1
čvn 23
2639
1
dub 23
21627
1
kvě 22
9175