Commit 040fd755 authored by Nicolas Wavrant's avatar Nicolas Wavrant

ERP5Type/ERP5Site: add the interface_post type group

parent 78565260
...@@ -1408,6 +1408,14 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin): ...@@ -1408,6 +1408,14 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
""" """
return self._getPortalGroupedTypeList('event') return self._getPortalGroupedTypeList('event')
security.declareProtected(Permissions.AccessContentsInformation,
'getPortalInterfacePostTypeList')
def getPortalInterfacePostTypeList(self):
"""
Return interface_post types.
"""
return self._getPortalGroupedTypeList('interface_post')
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'getPortalDivergenceTesterTypeList') 'getPortalDivergenceTesterTypeList')
def getPortalDivergenceTesterTypeList(self): def getPortalDivergenceTesterTypeList(self):
......
...@@ -283,6 +283,7 @@ class ERP5TypeInformation(XMLObject, ...@@ -283,6 +283,7 @@ class ERP5TypeInformation(XMLObject,
'invoice', 'invoice_movement', 'balance_transaction_line', 'invoice', 'invoice_movement', 'balance_transaction_line',
# CRM # CRM
'event', 'ticket', 'event', 'ticket',
'interface_post', # object used to track exchanges in/out of ERP5
# DMS # DMS
'document', 'web_document', 'file_document', 'embedded_document', 'document', 'web_document', 'file_document', 'embedded_document',
'recent_document', 'my_document', 'template_document', 'recent_document', 'my_document', 'template_document',
......
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