Skip to Content
Menu
This question has been flagged
3924 Rodiniai

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
geg. 17
4455
0
rugp. 19
4283
5
geg. 17
20237
1
lapkr. 24
20215
1
rugs. 23
3026