Commit 9231f1b4 authored by Romain Courteaud's avatar Romain Courteaud

Add portal method getPortalOptionBaseCategoryList (temporary, a API for option

must be done).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3474 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4a77328b
...@@ -327,6 +327,14 @@ class ERP5Site ( CMFSite, FolderMixIn ): ...@@ -327,6 +327,14 @@ class ERP5Site ( CMFSite, FolderMixIn ):
""" """
return self._getPortalConfiguration('portal_variation_base_category_list') return self._getPortalConfiguration('portal_variation_base_category_list')
security.declareProtected(Permissions.AccessContentsInformation,
'getPortalOptionBaseCategoryList')
def getPortalOptionBaseCategoryList(self):
"""
Return option base categories.
"""
return self._getPortalConfiguration('portal_option_base_category_list')
security.declareProtected(Permissions.AccessContentsInformation, 'getPortalInvoiceMovementTypeList') security.declareProtected(Permissions.AccessContentsInformation, 'getPortalInvoiceMovementTypeList')
def getPortalInvoiceMovementTypeList(self): def getPortalInvoiceMovementTypeList(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