Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
7751 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
jul. 25
434
1
jul. 25
5367
0
jul. 25
933
0
jun. 25
932
1
jun. 25
1063