Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
5660 มุมมอง

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
3544
0
ส.ค. 23
194
1
มิ.ย. 23
2668
1
เม.ย. 23
21731
1
พ.ค. 22
9265