20% OFF UNTIL THE END OF THE YEAR Use Code: OFF20 for 20% Off! (excluding customizations and support packages)
How do you filter orders to be downloaded? How is the “Order cut-off” date used?

How do you filter orders to be downloaded? How is the “Order cut-off” date used?

Our connector is filtering orders by the following criterias:

  • Order.create_date >= “Orders cut-off date” AND

  • Order.update_date >= “Last Receive Orders Time” AND

  • Order.status in [list_of_needed_statuses]

So orders created before “Orders cut-off date” will not be downloaded. Even if they were updated / changed after this date.

Orders are downloaded by “Scheduled Action” that is automatically created for every integration and it is running every 5 minutes by default. 

Example: You tested the connector and finally want to go-life with it in July. You would like to have in Odoo only orders that were created after 1 of July (because that is when you want to create inventory and accounting records from sales orders). In that case you will set “Orders Cut-off date” to be 1 of July. So even if there is an order that was created on 30 of June, but then its status changed on 5 of July (for example to Paid) – it will not be downloaded.

Related Posts