跳至內容
選單
此問題已被標幟
1 回覆
2445 瀏覽次數

Hi.


I'm using Odoo 11 and the question is very simple. When I do a XML_RPC::CallMethod, exists the possibility to do a filter or pass the condition (where) to get the data more efficient?

For example, I have a table with 2000 récords and only want the records which name begins with 'a' or that create_date between two dates.

Thanks

頭像
捨棄
最佳答案

Hi Ferran:

If I understand your question correctly you are asking whether you can specify a condition while querying records using the XML-RPC api.

Yes. You can specify a valid domain in the search. Here's an example from the documentation that will help clarify things.

https://www.odoo.com/documentation/11.0/webservices/odoo.html#list-records

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
3月 22
5139
4
12月 19
19009
2
5月 18
6032
3
7月 25
2924
1
10月 24
2102