Commit 58e85c28 authored by Jérome Perrin's avatar Jérome Perrin

add base_application and base_contribution in amount interface. fix a few typos


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28073 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c82ec8ae
......@@ -100,7 +100,7 @@ class IAmount(Interface):
def getNetQuantity():
"""
Returns the quantity multiplied by the ratio.
Returns the quantity multiplied by the efficiency ratio.
"""
# Price API
......@@ -119,13 +119,23 @@ class IAmount(Interface):
def getConvertedQuantity():
"""
Returns the quantity of the resource converted in the
management unit of the resource
management unit of the resource.
"""
def getNetConvertedQuantity():
"""
Returns the net quantity of the resource converted in the
management unit of the resource
management unit of the resource.
"""
# Transformation API
def getBaseContributionList():
"""The list of bases this amount contributes to.
"""
def getBaseApplicationList():
"""The list of bases this amount has been applied on. Only set if the
amount comes from a transformation.
"""
# Make it possible to add amounts
......
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