Commit a7b91de3 authored by Sebastien Robin's avatar Sebastien Robin

corrected to portal configurations


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1853 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cb242d21
......@@ -388,14 +388,14 @@ class ERP5Site ( CMFSite, FolderMixIn ):
"""
Return draft order states.
"""
return self._getPortalConfiguration('portal_draft_order_state')
return self._getPortalConfiguration('portal_draft_order_state_list')
security.declareProtected(Permissions.AccessContentsInformation, 'getPortalPlannedOrderStateList')
def getPortalPlannedOrderStateList(self):
"""
Return planned order states.
"""
return self._getPortalConfiguration('portal_planned_order_state')
return self._getPortalConfiguration('portal_planned_order_state_list')
security.declareProtected(Permissions.AccessContentsInformation, 'getPortalReservedInventoryStateList')
def getPortalReservedInventoryStateList(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