diff --git a/product/ERP5/mixin/rule.py b/product/ERP5/mixin/rule.py index ff025546510d6c76176cdf77e1dc672d4acd1022..af9572f5ec0d7f6cf78a66b33dd09f8ba0443d96 100644 --- a/product/ERP5/mixin/rule.py +++ b/product/ERP5/mixin/rule.py @@ -100,10 +100,10 @@ class MovementGeneratorMixin: # Results will be appended to result result = [] # Build a list of movement and business path - LOG('_getInputMovementList', 0, repr(self._getInputMovementList(movement_list=movement_list, - rounding=rounding))) - for input_movement in self._getInputMovementList(movement_list=movement_list, - rounding=rounding): + input_movement_list = self._getInputMovementList( + movement_list=movement_list, rounding=rounding) + LOG('_getInputMovementList', 0, repr(input_movement_list)) + for input_movement in input_movement_list: # Merge movement and business path properties (core implementation) # Lookup Business Process through composition (NOT UNION) business_process = input_movement.asComposedDocument()