diff --git a/product/ERP5/DeliverySolver/FIFO.py b/product/ERP5/DeliverySolver/FIFO.py index aa24e652590d67584720a7e1dc8dfddff33b2533..e5e40682aaf26c786cf946d7efcacd6cb8ee2497 100644 --- a/product/ERP5/DeliverySolver/FIFO.py +++ b/product/ERP5/DeliverySolver/FIFO.py @@ -63,9 +63,6 @@ class FIFO(DeliverySolver): """ result = [] simulation_movement_list = self._getSimulationMovementList() - if len(simulation_movement_list): - simulation_movement_list.sort( - key=lambda x:x.getExplainationValue().getStartDate(), reverse=True) remaining_quantity = self.getTotalQuantity() - new_quantity for movement in simulation_movement_list: if remaining_quantity: