Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3844 มุมมอง

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
4383
0
ส.ค. 19
4205
5
พ.ค. 17
20142
1
พ.ย. 24
20068
How to install odoo 10 in ubuntu 20.04? แก้ไขแล้ว
1
ก.ย. 23
2937