Commit a5c4f580 authored by Romain Courteaud's avatar Romain Courteaud

Modify getTotalBasePrice to getTotalPrice.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2665 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cfd072ba
......@@ -273,12 +273,12 @@ class AggregatedAmountList(UserList):
security = ClassSecurityInfo()
# security.declareObjectPublic()
security.declarePublic('getTotalBasePrice')
def getTotalBasePrice(self):
security.declarePublic('getTotalPrice')
def getTotalPrice(self):
"""
Return total bas price of the transformation
"""
result = sum( filter(lambda y: y is not None ,map( lambda x: x.getTotalBasePrice(), self)) )
result = sum( filter(lambda y: y is not None ,map( lambda x: x.getTotalPrice(), self)) )
return result
security.declarePublic('getTotalDuration')
......
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