Commit cce6a610 authored by Guillaume Michon's avatar Guillaume Michon

added item type list accessor


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1506 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cd5fd550
...@@ -173,6 +173,14 @@ class ERP5Site ( CMFSite, FolderMixIn ): ...@@ -173,6 +173,14 @@ class ERP5Site ( CMFSite, FolderMixIn ):
""" """
return ERP5Globals.movement_type_list return ERP5Globals.movement_type_list
security.declareProtected(Permissions.AccessContentsInformation, 'getItemTypeList')
def getItemTypeList(self):
"""
Returns possible items types
"""
return ERP5Globals.item_type_list
security.declarePublic('getOrderedGlobalActionList') security.declarePublic('getOrderedGlobalActionList')
def getOrderedGlobalActionList(self, action_list): def getOrderedGlobalActionList(self, action_list):
""" """
......
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