Commit 61120208 authored by Kevin Deldycke's avatar Kevin Deldycke

Delete custom getPortalReferenceCurrencyID portal method. We will use a custom...

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
parent 2a0c72dd
...@@ -557,13 +557,6 @@ class ERP5Site ( CMFSite, FolderMixIn ): ...@@ -557,13 +557,6 @@ class ERP5Site ( CMFSite, FolderMixIn ):
clean_list.append(cat) clean_list.append(cat)
return clean_list 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') security.declareProtected(Permissions.AccessContentsInformation, 'getDefaultModuleId')
def getDefaultModuleId(self, portal_type): def getDefaultModuleId(self, portal_type):
""" """
......
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