Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3875 Переглядів

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() ?

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
трав. 17
4413
0
серп. 19
4228
5
трав. 17
20182
1
лист. 24
20120
1
вер. 23
2973