Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
3052 Prikazi

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 

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
dec. 20
23
0
avg. 23
1261
0
feb. 22
2077
1
maj 25
4219
0
apr. 25
1200