Ir al contenido
Menú
Se marcó esta pregunta
3049 Vistas

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
dic 20
23
0
ago 23
1261
0
feb 22
2074
1
may 25
4216
0
abr 25
1199