تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
5602 أدوات العرض

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
نوفمبر 20
3486
0
أغسطس 23
194
1
يونيو 23
2641
1
أبريل 23
21628
1
مايو 22
9181