Commit 630ff31f authored by Sebastien Robin's avatar Sebastien Robin

fix an error on getBasePrice


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2165 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 55b45932
......@@ -153,7 +153,7 @@ class Resource(XMLMatrix, CoreResource, Variated):
security.declareProtected(Permissions.AccessContentsInformation, 'getTotalPrice')
def getTotalPrice(self, quantity, unit=None, variation=None, REQUEST=None):
return self.convertQuantity(quantity, unit, self.getDefaultQuantityUnit()) *\
getBasePrice()
self.getBasePrice()
security.declareProtected(Permissions.AccessContentsInformation, 'getUnitPrice')
def getUnitPrice(self, unit=None, variation=None, REQUEST=None):
......
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