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
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
})
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-se| Related Posts | Respostes | Vistes | Activitat | |
|---|---|---|---|---|
|
0
de nov. 25
|
195 | |||
|
2
de nov. 25
|
1509 | |||
|
0
de jul. 25
|
1709 | |||
|
1
de jul. 25
|
7233 | |||
|
|
0
de jul. 25
|
3405 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.