Commit 135b9b83 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

we need to call getAggregatedMovementList() method on movement_generator, not __init__().


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30991 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fe18a975
......@@ -114,8 +114,9 @@ class RuleMixin:
"""
# We suppose here that we have an IMovementCollection in hand
decision_movement_list = context.getMovementList()
prevision_movement_list = movement_generator(self._getMovementGeneratorContext(),
movement_list=self._getMovementGeneratorMovementList(), rounding=rounding)
prevision_movement_list = movement_generator.getAggregatedMovementList(
self._getMovementGeneratorContext(context),
movement_list=self._getMovementGeneratorMovementList(), rounding=rounding)
# Get divergence testers
tester_list = self._getMatchingTesterList()
......
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