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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
11월 25
|
195 | |||
|
2
11월 25
|
835 | |||
|
0
7월 25
|
1269 | |||
|
1
7월 25
|
6660 | |||
|
|
0
7월 25
|
2591 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.