The case that I have to deal with is :
An entity CustomerOrder with a list of TransportOrder.
A filterModule for each entity to be able to browse CustomerOrders and separatly to browse all TransportOrders of all CustomerOrders.
Depending on an action set on CustomerOrder, I generate multiple TransportOrders and update the CustomerOrder's status from "Forecasted" to "Validated". Through the TransportOrder filterModule, the new TransportOrders are displayed.
A second action on CustomerOrder allows to get back the CustomerOrder to its initial status (ie "Forecasted") and consequently remove and delete the relevant TransportOrders.
The issue :
When a CustomerOrder is restored to its initial status, its former TransportOrders (that have been deleted) are always present in the TransportOrder filterModule (the filterModule's data are not automatically refreshed)
Is there a way to automatically refresh the data displayed in the TranportOrder filterModule ?