Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
7756 Visninger

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
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
jul. 25
443
1
jul. 25
5398
0
jul. 25
958
0
jun. 25
950
1
jun. 25
1072