Commit 96db84f1 authored by Łukasz Nowak's avatar Łukasz Nowak

- remove not needed parameters for methods in interface definitions


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27472 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b398194c
...@@ -37,14 +37,12 @@ class ITransformation(Interface): ...@@ -37,14 +37,12 @@ class ITransformation(Interface):
Models (TaxModelLine, InvoiceModelLine) shall be based on this interface Models (TaxModelLine, InvoiceModelLine) shall be based on this interface
""" """
def getAggregatedAmountList(context, **kw): def getAggregatedAmountList(context):
"""Returns implementation specific AggregatedAmountList of amounts """Returns implementation specific AggregatedAmountList of amounts
generated by set of rules generated by set of rules
context - represents object for which calculation shall happen context - represents object for which calculation shall happen
**kw - contains implementations specific parameters
The method returns an instance of AggregatedAmountList class defined The method returns an instance of AggregatedAmountList class defined
at ERP5/AggregatedAmountList.py at ERP5/AggregatedAmountList.py
...@@ -55,13 +53,11 @@ class ITransformation(Interface): ...@@ -55,13 +53,11 @@ class ITransformation(Interface):
""" """
pass pass
def updateAggregatedAmountList(context, **kw): def updateAggregatedAmountList(context):
"""Updates currently existing movements on delivery """Updates currently existing movements on delivery
context - represents object on which update shall happen 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 The method return a dict of list of movements : 'movement_to_add_list' and
'movement_to_delete_list'. 'movement_to_delete_list'.
""" """
......
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