跳至内容
菜单
此问题已终结
3020 查看

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
12月 20
23
0
8月 23
1220
0
2月 22
2054
1
5月 25
4164
0
4月 25
1159