İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
7612 Görünümler

Send parameters python to javascript

Greetings again,

I have a function in python that filters data from sale_order_line me,

there is a way to send this data filtered javascript to be treated there ....

Thanks for responding

Avatar
Vazgeç
En İyi Yanıt

You have to ask from javascript side:

var model = new instance.web.Model("your_model_name"); model.call("your_function_name", [], {context: new instance.web.CompoundContext()}).then(function(result) {
console.log('Here is the result:'+result); // if the result can be concatenate with string
})

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Tem 25
253
0
Haz 25
470
1
Haz 25
709
1
Haz 25
732
1
May 25
1279