[Erp5-report] r27472 - /erp5/trunk/products/ERP5/interfaces/transformation.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jun 9 14:58:44 CEST 2009
Author: luke
Date: Tue Jun 9 14:58:37 2009
New Revision: 27472
URL: http://svn.erp5.org?rev=27472&view=rev
Log:
- remove not needed parameters for methods in interface definitions
Modified:
erp5/trunk/products/ERP5/interfaces/transformation.py
Modified: erp5/trunk/products/ERP5/interfaces/transformation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/transformation.py?rev=27472&r1=27471&r2=27472&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/transformation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/transformation.py [utf8] Tue Jun 9 14:58:37 2009
@@ -37,13 +37,11 @@
Models (TaxModelLine, InvoiceModelLine) shall be based on this interface
"""
- def getAggregatedAmountList(context, **kw):
+ def getAggregatedAmountList(context):
"""Returns implementation specific AggregatedAmountList of amounts
generated by set of rules
context - represents object for which calculation shall happen
-
- **kw - contains implementations specific parameters
The method returns an instance of AggregatedAmountList class defined
at ERP5/AggregatedAmountList.py
@@ -55,12 +53,10 @@
"""
pass
- def updateAggregatedAmountList(context, **kw):
+ def updateAggregatedAmountList(context):
"""Updates currently existing movements on delivery
context - represents object on which update shall happen
-
- **kw - contains implementations specific parameters
The method return a dict of list of movements : 'movement_to_add_list' and
'movement_to_delete_list'.
More information about the Erp5-report
mailing list