Commit 04265f55 authored by Fabien Morin's avatar Fabien Morin

add getPortalModelPathTypeList

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32018 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 35777f58
......@@ -615,6 +615,15 @@ class ERP5Site(FolderMixIn, CMFSite):
return self._getPortalGroupedTypeList('transformation') or \
self._getPortalConfiguration('portal_transformation_type_list')
security.declareProtected(Permissions.AccessContentsInformation,
'getPortalModelPathTypeList')
def getPortalModelPathTypeList(self):
"""
Return model_path types.
"""
return self._getPortalGroupedTypeList('model_path') or \
self._getPortalConfiguration('portal_model_path_type_list')
security.declareProtected(Permissions.AccessContentsInformation,
'getPortalVariationBaseCategoryList')
def getPortalVariationBaseCategoryList(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