From 7303091fcd3c716e44066486f82c64bbf4f456e1 Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Thu, 14 Oct 2004 15:48:11 +0000 Subject: [PATCH] cleanup git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1849 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Tool/SimulationTool.py | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/product/ERP5/Tool/SimulationTool.py b/product/ERP5/Tool/SimulationTool.py index 80300b101b..f8e9230be0 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): -- 2.30.9