Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
5630 Переглядів

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.

Аватар
Відмінити

you have to change in your js file

Найкраща відповідь

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)                                                                                                                        
}

Аватар
Відмінити
Автор Найкраща відповідь


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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
лист. 20
3510
0
серп. 23
194
1
черв. 23
2655
1
квіт. 23
21686
1
трав. 22
9218