Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3909 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
mai. 17
4449
0
ago. 19
4271
5
mai. 17
20207
1
nov. 24
20188
1
set. 23
3009