跳至内容
菜单
此问题已终结
1 回复
7525 查看

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

形象
丢弃
最佳答案

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
})

形象
丢弃
相关帖文 回复 查看 活动
0
6月 25
221
1
6月 25
507
1
6月 25
489
1
5月 25
1072
0
3月 25
624