Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3168 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
pro 20
23
0
srp 23
1372
0
úno 22
2233
1
kvě 25
4417
0
dub 25
1435