[Erp5-report] r33169 jp - /erp5/trunk/products/ERP5/interfaces/amount_generator.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Mar 1 10:58:02 CET 2010
Author: jp
Date: Mon Mar 1 10:58:02 2010
New Revision: 33169
URL: http://svn.erp5.org?rev=33169&view=rev
Log:
Minor presentation changes
Modified:
erp5/trunk/products/ERP5/interfaces/amount_generator.py
Modified: erp5/trunk/products/ERP5/interfaces/amount_generator.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/amount_generator.py?rev=33169&r1=33168&r2=33169&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/amount_generator.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/amount_generator.py [utf8] Mon Mar 1 10:58:02 2010
@@ -43,14 +43,14 @@
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.
and aggregated according to the context divergence testers.
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
we want to filter context.getMovementList
@@ -63,15 +63,15 @@
- 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.
context - an IMovementCollection, an IAmountList or an IAmount
- movement_list - optional IAmountList which can be passed explicitly
- whenever context is an IMovementCollection and whenever
- we want to filter context.getMovementList
+ amount_list - optional IAmountList which can be passed explicitly
+ whenever context is an IMovementCollection and whenever
+ we want to filter context.getMovementList
rounding - boolean argument, which controls if rounding shall be applied on
generated movements or not
More information about the Erp5-report
mailing list