Commit 2b24d2ae authored by Jérome Perrin's avatar Jérome Perrin

don't call _getInputMovementList twice


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44181 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7e1c2ed9
...@@ -100,10 +100,10 @@ class MovementGeneratorMixin: ...@@ -100,10 +100,10 @@ class MovementGeneratorMixin:
# Results will be appended to result # Results will be appended to result
result = [] result = []
# Build a list of movement and business path # Build a list of movement and business path
LOG('_getInputMovementList', 0, repr(self._getInputMovementList(movement_list=movement_list, input_movement_list = self._getInputMovementList(
rounding=rounding))) movement_list=movement_list, rounding=rounding)
for input_movement in self._getInputMovementList(movement_list=movement_list, LOG('_getInputMovementList', 0, repr(input_movement_list))
rounding=rounding): for input_movement in input_movement_list:
# Merge movement and business path properties (core implementation) # Merge movement and business path properties (core implementation)
# Lookup Business Process through composition (NOT UNION) # Lookup Business Process through composition (NOT UNION)
business_process = input_movement.asComposedDocument() business_process = input_movement.asComposedDocument()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment