Commit 2fc96ad5 authored by Nicolas Wavrant's avatar Nicolas Wavrant

ERP5Type/ERP5Site: add the interface_post type group

parent a7f35488
......@@ -1408,6 +1408,14 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
"""
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,
'getPortalDivergenceTesterTypeList')
def getPortalDivergenceTesterTypeList(self):
......
......@@ -283,6 +283,7 @@ class ERP5TypeInformation(XMLObject,
'invoice', 'invoice_movement', 'balance_transaction_line',
# CRM
'event', 'ticket',
'interface_post', # object used to track exchanges in/out of ERP5
# DMS
'document', 'web_document', 'file_document', 'embedded_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