diff --git a/product/ERP5/Document/Transformation.py b/product/ERP5/Document/Transformation.py index f2ff4d73a2a22793e44936def0bc6f7b07288155..ac50489cfca0a548156571472d2a4acaad48ac75 100755 --- a/product/ERP5/Document/Transformation.py +++ b/product/ERP5/Document/Transformation.py @@ -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')