From 6112020879c6b2522ebf60de5b83c83acff59d77 Mon Sep 17 00:00:00 2001 From: Kevin Deldycke <kevin@nexedi.com> Date: Mon, 19 Dec 2005 11:00:41 +0000 Subject: [PATCH] Delete custom getPortalReferenceCurrencyID portal method. We will use a custom script in Business Template instead. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4768 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/ERP5Site.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/product/ERP5/ERP5Site.py b/product/ERP5/ERP5Site.py index 87fd0fc99e..d5a793cd3d 100755 --- a/product/ERP5/ERP5Site.py +++ b/product/ERP5/ERP5Site.py @@ -557,13 +557,6 @@ class ERP5Site ( CMFSite, FolderMixIn ): clean_list.append(cat) return clean_list - security.declareProtected(Permissions.AccessContentsInformation, 'getPortalReferenceCurrencyID') - def getPortalReferenceCurrencyID(self): - """ - Return the currency used as a reference for banking transaction. - """ - return self._getPortalConfiguration('portal_reference_currency_id') - security.declareProtected(Permissions.AccessContentsInformation, 'getDefaultModuleId') def getDefaultModuleId(self, portal_type): """ @@ -668,7 +661,7 @@ class ERP5Generator(PortalGenerator): permission_list = context.possible_permissions() for permission in permission_list: context.manage_permission(permission, ['Manager'], 0) - + def setupTools(self, p,**kw): """Set up initial tools""" -- 2.30.9