Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3922 Ansichten

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Mai 17
4451
0
Aug. 19
4277
5
Mai 17
20229
1
Nov. 24
20201
1
Sept. 23
3014