Commit 83f4af93 authored by Jean-Paul Smets's avatar Jean-Paul Smets

remove context to be consistent with amount_generator

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@34975 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f9a85cca
......@@ -43,13 +43,11 @@ class IMovementGenerator(Interface):
and Trade Conditions.
"""
def getAggregatedMovementList(context, movement_list=None, rounding=False):
def getAggregatedMovementList(movement_list=None, rounding=False):
"""
Returns an IMovementList generated by a model applied to the context
and aggregated according to the context divergence testers.
context - an IMovementCollection, an IMovementList or an IMovement
movement_list - optional IMovementList which can be passed explicitely
whenever context is an IMovementCollection and whenever
we want to filter context.getMovementList
......@@ -63,12 +61,10 @@ class IMovementGenerator(Interface):
- define how to retrieve divergence testers in the context
"""
def getGeneratedMovementList(context, movement_list=None, rounding=False):
def getGeneratedMovementList(movement_list=None, rounding=False):
"""
Returns an IMovementList generated by a model applied to the context
context - an IMovementCollection, an IMovementList or an IMovement
movement_list - optional IMovementList which can be passed explicitely
whenever context is an IMovementCollection and whenever
we want to filter context.getMovementList
......
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