Commit 464e38ac authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added getInventoryAssetPrice as a comment in order to make sure we discuss API


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4487 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 82a942a2
......@@ -459,6 +459,40 @@ class Delivery(XMLObject):
kw['category'] = self._getMovementResourceList()
return self.portal_simulation.getMovementHistoryStat(**kw)
# JPS: We must still decide if getInventoryAssetPrice is part of the Delivery API
# security.declareProtected(Permissions.AccessContentsInformation, 'getInventoryAssetPrice')
# def getInventoryAssetPrice(self, **kw):
# """
# Returns asset at infinite
# """
# kw['category'] = self._getMovementResourceList()
# return self.portal_simulation.getInventoryAssetPrice(**kw)
#
# security.declareProtected(Permissions.AccessContentsInformation, 'getFutureInventoryAssetPrice')
# def getFutureInventoryAssetPrice(self, **kw):
# """
# Returns asset at infinite
# """
# kw['category'] = self._getMovementResourceList()
# return self.portal_simulation.getFutureInventoryAssetPrice(**kw)
#
# security.declareProtected(Permissions.AccessContentsInformation, 'getCurrentInventoryAssetPrice')
# def getCurrentInventoryAssetPrice(self, **kw):
# """
# Returns asset at infinite
# """
# kw['category'] = self._getMovementResourceList()
# return self.portal_simulation.getCurrentInventoryAssetPrice(**kw)
#
# security.declareProtected(Permissions.AccessContentsInformation, 'getAvailableInventoryAssetPrice')
# def getAvailableInventoryAssetPrice(self, **kw):
# """
# Returns asset at infinite
# """
# kw['category'] = self._getMovementResourceList()
# return self.portal_simulation.getAvailableInventoryAssetPrice(**kw)
security.declarePrivate( '_edit' )
def _edit(self, REQUEST=None, force_update = 0, **kw):
"""
......
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