跳至内容
菜单
此问题已终结
3 回复
5595 查看

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 ?

形象
丢弃
相关帖文 回复 查看 活动
0
11月 20
3485
0
8月 23
194
1
6月 23
2633
1
4月 23
21616
1
5月 22
9173