Commit 622f87ce authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added project group.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13769 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b80b8efd
......@@ -610,6 +610,14 @@ class ERP5Site(FolderMixIn, CMFSite):
return self._getPortalGroupedTypeList('supply') or \
self._getPortalConfiguration('portal_supply_type_list')
security.declareProtected(Permissions.AccessContentsInformation,
'getPortalProjectTypeList')
def getPortalProjectTypeList(self):
"""
Return document types.
"""
return self._getPortalGroupedTypeList('project')
security.declareProtected(Permissions.AccessContentsInformation,
'getPortalDocumentTypeList')
def getPortalDocumentTypeList(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