Commit e1d27d9e authored by Jean-Paul Smets's avatar Jean-Paul Smets

Handle new type families

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@35586 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9880c119
......@@ -1133,6 +1133,22 @@ class ERP5Site(FolderMixIn, CMFSite):
"""
return self._getPortalGroupedTypeList('amount_generator_cell')
security.declareProtected(Permissions.AccessContentsInformation,
'getPortalBusinessProcessTypeList')
def getPortalBusinessProcessTypeList(self):
"""
Return amount generator types.
"""
return self._getPortalGroupedTypeList('business_process')
security.declareProtected(Permissions.AccessContentsInformation,
'getPortalBusinessPathTypeList')
def getPortalBusinessPathTypeList(self):
"""
Return amount generator line types.
"""
return self._getPortalGroupedTypeList('business_path')
security.declareProtected(Permissions.AccessContentsInformation,
'getPortalCalendarPeriodTypeList')
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