[Erp5-report] r28073 - /erp5/trunk/products/ERP5/interfaces/amount.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jul 14 15:48:48 CEST 2009
Author: jerome
Date: Tue Jul 14 15:48:48 2009
New Revision: 28073
URL: http://svn.erp5.org?rev=28073&view=rev
Log:
add base_application and base_contribution in amount interface. fix a few typos
Modified:
erp5/trunk/products/ERP5/interfaces/amount.py
Modified: erp5/trunk/products/ERP5/interfaces/amount.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/amount.py?rev=28073&r1=28072&r2=28073&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/amount.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/amount.py [utf8] Tue Jul 14 15:48:48 2009
@@ -100,7 +100,7 @@
def getNetQuantity():
"""
- Returns the quantity multiplied by the ratio.
+ Returns the quantity multiplied by the efficiency ratio.
"""
# Price API
@@ -119,13 +119,23 @@
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
More information about the Erp5-report
mailing list