diff --git a/product/ERP5/Tool/SimulationTool.py b/product/ERP5/Tool/SimulationTool.py index 80300b101bdb39c042b6ab54085e6d35f7f37a3a..f8e9230be04a397d0bf4c85f0b59bf3097d46fd7 100755 --- a/product/ERP5/Tool/SimulationTool.py +++ b/product/ERP5/Tool/SimulationTool.py @@ -213,30 +213,6 @@ class SimulationTool (Folder, UniqueObject): return result[0].inventory return 0.0 - ####################################################### - # Movement Group Collection / Delivery Creation - def collectMovement2(self, movement_list, check_list = None): - """ - group movements in the way we want - - movement_list : the list of movement wich we want to group - - check_list : the list of classes used to group movements. The order - of the list is important and determines by what we will - group movement first - Typically, check_list is : - (DateMovementList,PathMovementList,...) - """ - if check_list is None: - check_list = [] - s_tool = self.portal_simulation - my_root_group = s_tool.root_movement_group.getInstance(check_list=check_list) - for movement in movement_list: - if not movement in my_root_group.movement_list : - my_root_group.append(movement,check_list=check_list) - - return my_root_group - ####################################################### # Movement Group Collection / Delivery Creation def collectMovement(self, movement_list,class_list=None,**kw):