Commit d0f0a697 authored by Sebastien Robin's avatar Sebastien Robin

added portal_base_category_list and portal_mapped_value_property_list


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3092 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3269946e
......@@ -153,3 +153,6 @@ portal_future_inventory_state_list = ('planned', 'ordered',)
portal_column_base_category_list = ('taille', )
portal_line_base_category_list = ('coloris', 'couleur', )
portal_tab_base_category_list = ('morphologie', )
portal_criterion_base_category_list = ('source','destination','resource')
portal_mapped_value_property_list = ('start_date','stop_date')
......@@ -375,6 +375,20 @@ class ERP5Site ( CMFSite, FolderMixIn ):
"""
return self._getPortalConfiguration('portal_container_type_list')
security.declareProtected(Permissions.AccessContentsInformation, 'getPortalCriterionBaseCategoryList')
def getPortalCriterionBaseCategoryList(self):
"""
Return container types.
"""
return self._getPortalConfiguration('portal_criterion_base_category_list')
security.declareProtected(Permissions.AccessContentsInformation, 'getPortalMappedValuePropertyList')
def getPortalMappedValuePropertyList(self):
"""
Return container types.
"""
return self._getPortalConfiguration('portal_mapped_value_property_list')
security.declareProtected(Permissions.AccessContentsInformation, 'getPortalContainerLineTypeList')
def getPortalContainerLineTypeList(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