Commit 58c05782 authored by Jérome Perrin's avatar Jérome Perrin

add getPortalBudgetVariationTypeList


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25053 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 545c040b
......@@ -719,6 +719,14 @@ class ERP5Site(FolderMixIn, CMFSite):
"""
return self._getPortalGroupedTypeList('crawler_index')
security.declareProtected(Permissions.AccessContentsInformation,
'getPortalBudgetVariationTypeList')
def getPortalBudgetVariationTypeList(self):
"""
Return budget variation types.
"""
return self._getPortalGroupedTypeList('budget_variation')
security.declareProtected(Permissions.AccessContentsInformation,
'getPortalSupplyPathTypeList')
def getPortalSupplyPathTypeList(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