diff --git a/product/ERP5/ERP5Site.py b/product/ERP5/ERP5Site.py index 018ce2d32892e7b218f487a54c5a9680535f93df..d676cf9d946a09430efd7b2da91b518299fec44e 100644 --- a/product/ERP5/ERP5Site.py +++ b/product/ERP5/ERP5Site.py @@ -779,6 +779,14 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin): """ return self._getPortalGroupedTypeList('document') + security.declareProtected(Permissions.AccessContentsInformation, + 'getPortalEmbeddedDocumentTypeList') + def getPortalEmbeddedDocumentTypeList(self): + """ + Return embedded document types. + """ + return self._getPortalGroupedTypeList('embedded_document') + security.declareProtected(Permissions.AccessContentsInformation, 'getPortalWebDocumentTypeList') def getPortalWebDocumentTypeList(self):