Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
5619 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ

you have to change in your js file

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất


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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 11 20
3493
0
thg 8 23
194
1
thg 6 23
2653
1
thg 4 23
21684
1
thg 5 22
9217