diff --git a/product/ERP5/mixin/movement_generator.py b/product/ERP5/mixin/movement_generator.py index e1ba90c77b76ddee6e58ba98b3f263125abfaa58..273328850e3eae0815d488f2055a22360882acae 100644 --- a/product/ERP5/mixin/movement_generator.py +++ b/product/ERP5/mixin/movement_generator.py @@ -69,14 +69,11 @@ class MovementGeneratorMixin: return [(input_movement, None) for input_movement in input_movement_list] input_movement_and_path_list = [] - business_path_list = [] for input_movement in input_movement_list: for business_path in business_process.getPathValueList( trade_phase_list, input_movement) or [None]: input_movement_and_path_list.append((input_movement, business_path)) - business_path not in business_path_list and business_path_list \ - .append(business_path) return input_movement_and_path_list