Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3849 Weergaven

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

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
mei 17
4389
0
aug. 19
4208
5
mei 17
20150
1
nov. 24
20072
1
sep. 23
2939