Commit ce618fcd authored by Sebastien Robin's avatar Sebastien Robin

added getPortalTransitInventoryStateList

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13027 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2cfe90d6
......@@ -723,6 +723,15 @@ class ERP5Site(FolderMixIn, CMFSite):
return self._getPortalGroupedStateList('current_inventory') or \
self._getPortalConfiguration('portal_current_inventory_state_list')
security.declareProtected(Permissions.AccessContentsInformation,
'getPortalTransitInventoryStateList')
def getPortalTransitInventoryStateList(self):
"""
Return transit inventory states.
"""
return self._getPortalGroupedStateList('transit_inventory') or \
self._getPortalConfiguration('portal_transit_inventory_state_list')
security.declareProtected(Permissions.AccessContentsInformation,
'getPortalDraftOrderStateList')
def getPortalDraftOrderStateList(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