From 54f374d1dd47726af6fa01872278a3fafdeaa81a Mon Sep 17 00:00:00 2001 From: Rafael Monnerat <rafael@nexedi.com> Date: Wed, 27 Sep 2006 14:37:08 +0000 Subject: [PATCH] Added new Portal Method getPortalDivergenceTesterTypeList git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10369 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/ERP5Site.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/product/ERP5/ERP5Site.py b/product/ERP5/ERP5Site.py index 35cd435a88..771435bc21 100644 --- a/product/ERP5/ERP5Site.py +++ b/product/ERP5/ERP5Site.py @@ -800,6 +800,14 @@ class ERP5Site(FolderMixIn, CMFSite): """ return self._getPortalGroupedTypeList('event') + security.declareProtected(Permissions.AccessContentsInformation, + 'getPortalDivergenceTesterTypeList') + def getPortalDivergenceTesterTypeList(self): + """ + Return divergence tester types. + """ + return self._getPortalGroupedTypeList('divergence_tester') + security.declareProtected(Permissions.AccessContentsInformation, 'getDefaultModuleId') def getDefaultModuleId(self, portal_type, default=MARKER): -- 2.30.9