Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3071 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
dez. 20
23
0
ago. 23
1273
0
fev. 22
2102
1
mai. 25
4253
0
abr. 25
1226