Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2380 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
bře 22
5051
4
pro 19
18883
2
kvě 18
5942
3
čvc 25
2764
1
říj 24
1973