This question has been flagged
1 Reply
1898 Views

How can i get partner orders between two dates (create_date)? And i want to get only the 'amount_total' field in order object.

Can you help me with some of code for example?

I use c# in my code with  xml-rpc and i use odoo 9.0

Avatar
Discard

It would be more helpful if you post your code you are working with.

Author

In the second part of your answer, you mentioned that i need to make a search method passing the partner IDs. If i want only the orders between two dates, i need to write a condition using 'Domains' ?

And where i need to put the condition , in the search method or in the read method ?

Best Answer

First you need to search for all the partners using search method and pass blank list which will give you the IDs of all the partners.

Now, again use search method to search the orders by passing the partner IDs and then use read method to read the data of the orders.

Avatar
Discard