Commit bea8ef22 authored by Yusei Tahara's avatar Yusei Tahara

Add getPortalDeliverySolverTypeList.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30641 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 994a81be
...@@ -1066,6 +1066,14 @@ class ERP5Site(FolderMixIn, CMFSite): ...@@ -1066,6 +1066,14 @@ class ERP5Site(FolderMixIn, CMFSite):
""" """
return self._getPortalGroupedTypeList('target_solver') return self._getPortalGroupedTypeList('target_solver')
security.declareProtected(Permissions.AccessContentsInformation,
'getPortalDeliverySolverTypeList')
def getPortalDeliverySolverTypeList(self):
"""
Return delivery solver types.
"""
return self._getPortalGroupedTypeList('delivery_solver')
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'getPortalCalendarPeriodTypeList') 'getPortalCalendarPeriodTypeList')
def getPortalCalendarPeriodTypeList(self): def getPortalCalendarPeriodTypeList(self):
......
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