Commit a72077f8 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Minor presentation changes

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33169 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8094aed3
...@@ -43,14 +43,14 @@ class IAmountGenerator(Interface): ...@@ -43,14 +43,14 @@ class IAmountGenerator(Interface):
and Trade Conditions. and Trade Conditions.
""" """
def getAggregatedAmountList(context, movement_list=None, rounding=False): def getAggregatedAmountList(context, amount_list=None, rounding=False):
""" """
Returns an IAmountList generated by a model applied to the context. Returns an IAmountList generated by a model applied to the context.
and aggregated according to the context divergence testers. and aggregated according to the context divergence testers.
context - an IMovementCollection, an IAmountList or an IAmount context - an IMovementCollection, an IAmountList or an IAmount
movement_list - optional IAmountList which can be passed explicitly amount_list - optional IAmountList which can be passed explicitly
whenever context is an IMovementCollection and whenever whenever context is an IMovementCollection and whenever
we want to filter context.getMovementList we want to filter context.getMovementList
...@@ -63,15 +63,15 @@ class IAmountGenerator(Interface): ...@@ -63,15 +63,15 @@ class IAmountGenerator(Interface):
- define how to retrieve divergence testers in the context - define how to retrieve divergence testers in the context
""" """
def getGeneratedAmountList(context, movement_list=None, rounding=False): def getGeneratedAmountList(context, amount_list=None, rounding=False):
""" """
Returns an IAmountList generated by a model applied to the context. Returns an IAmountList generated by a model applied to the context.
context - an IMovementCollection, an IAmountList or an IAmount context - an IMovementCollection, an IAmountList or an IAmount
movement_list - optional IAmountList which can be passed explicitly amount_list - optional IAmountList which can be passed explicitly
whenever context is an IMovementCollection and whenever whenever context is an IMovementCollection and whenever
we want to filter context.getMovementList we want to filter context.getMovementList
rounding - boolean argument, which controls if rounding shall be applied on rounding - boolean argument, which controls if rounding shall be applied on
generated movements or not generated movements or not
......
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