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

Im customizing the Odoo POS.

Extending the Order Widget

OrderWidget.include({

template:'OrderWidget',

click_line: function(orderline, event)

{

var select_product = orderline.get_product();

var category = {"id":0,"name":"Root"};

select_product.perform_search(category, "i-pad ,true);

}, });


"perform_search" method is in ProductCategoriesWidget template ...

My query is  how to call this method in Order Widget 

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
ديسمبر 20
23
0
أغسطس 23
1264
0
فبراير 22
2079
1
مايو 25
4223
0
أبريل 25
1203