Commit 17f24b85 authored by Sebastien Robin's avatar Sebastien Robin

added getPortalDefaultCollection method


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2238 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 492eab4f
...@@ -277,6 +277,13 @@ class ERP5Site ( CMFSite, FolderMixIn ): ...@@ -277,6 +277,13 @@ class ERP5Site ( CMFSite, FolderMixIn ):
""" """
return self._getPortalConfiguration('portal_order_type_list') return self._getPortalConfiguration('portal_order_type_list')
security.declareProtected(Permissions.AccessContentsInformation, 'getPortalDefaultCollection')
def getPortalDefaultCollection(self):
"""
Return order types.
"""
return self._getPortalConfiguration('portal_default_collection')
security.declareProtected(Permissions.AccessContentsInformation, 'getPortalDeliveryTypeList') security.declareProtected(Permissions.AccessContentsInformation, 'getPortalDeliveryTypeList')
def getPortalDeliveryTypeList(self): def getPortalDeliveryTypeList(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