diff --git a/product/ERP5/ERP5Site.py b/product/ERP5/ERP5Site.py index c0c06d070db06b5c8de4e091a619bb87cdd85320..eeb0cc69dca265ecc6178e4a5d1f5c4e3ffb17ed 100755 --- a/product/ERP5/ERP5Site.py +++ b/product/ERP5/ERP5Site.py @@ -277,6 +277,13 @@ class ERP5Site ( CMFSite, FolderMixIn ): """ return self._getPortalConfiguration('portal_order_type_list') + security.declareProtected(Permissions.AccessContentsInformation, 'getPortalDefaultCollection') + def getPortalDefaultCollection(self): + """ + Return order types. + """ + return self._getPortalConfiguration('portal_default_collection') + security.declareProtected(Permissions.AccessContentsInformation, 'getPortalDeliveryTypeList') def getPortalDeliveryTypeList(self): """