跳至內容
選單
此問題已被標幟
3859 瀏覽次數

I'm read documentation https://www.odoo.com/documentation/10.0/reference/javascript.html#rpc and i see that we can use two method, .call() and .query()..

call(), call a method of a model ex: Model Users.call('name_of_method', other stuff)..... .query() it's something like search() and read() but in my javascript file for frontend i can't call var query = required('web.DataMoldel') and i can't use the method query..


So my question is:
In the Javascript frontend for Odoo 10.0, the only method available for comunicate with backend model is the .call() ?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
5月 17
4394
0
8月 19
4216
5
5月 17
20157
1
11月 24
20077
1
9月 23
2940