Commit 646dac81 authored by Sebastien Robin's avatar Sebastien Robin

eable the getIndustrialPrice method


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5801 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7462eec0
...@@ -469,25 +469,25 @@ class Resource(XMLMatrix, CoreResource, Variated): ...@@ -469,25 +469,25 @@ class Resource(XMLMatrix, CoreResource, Variated):
# Industrial price API # Industrial price API
# security.declareProtected(Permissions.AccessContentsInformation, 'getIndustrialPrice') security.declareProtected(Permissions.AccessContentsInformation, 'getIndustrialPrice')
# def getIndustrialPrice(self, context=None, REQUEST=None, **kw): def getIndustrialPrice(self, context=None, REQUEST=None, **kw):
# """ """
# Returns industrial price Returns industrial price
# """ """
# context = self.asContext(context=context, REQUEST=REQUEST, **kw) context = self.asContext(context=context, REQUEST=REQUEST, **kw)
# result = self._getIndustrialPrice(context) result = self._getIndustrialPrice(context)
# if result is None: if result is None:
# self._updateIndustrialPrice(context) self._updateIndustrialPrice(context)
# result = self._getIndustrialPrice(context) result = self._getIndustrialPrice(context)
# return result return result
#
# def _getIndustrialPrice(self, context): def _getIndustrialPrice(self, context):
# # Default value is None # Default value is None
# return None return None
#
# def _updateIndustrialPrice(self, context): def _updateIndustrialPrice(self, context):
# # Do nothing by default # Do nothing by default
# pass pass
# Predicate handling # Predicate handling
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
......
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