Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
5596 Представления

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
3485
0
авг. 23
194
1
июн. 23
2633
1
апр. 23
21621
1
мая 22
9174