Commit 6c9772ff authored by Thierry's avatar Thierry

2007-09-18 Thierry

* Bug fix in 'TicketType'_getResourceItemList

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16462 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8082c155
......@@ -78,7 +78,7 @@ from Products.ERP5Type.Cache import CachingMethod\n
\n
def getResourceItemList():\n
result = []\n
url_list = context.portal_preferences.getPreferredEventResourceList()\n
url_list = context.portal_preferences.getPreferredCampaignResourceList()\n
for url in url_list:\n
resource_value = context.getPortalObject().restrictedTraverse(url)\n
result.append((resource_value.getTranslatedTitle(), resource_value.getRelativeUrl()))\n
......
......@@ -78,7 +78,7 @@ from Products.ERP5Type.Cache import CachingMethod\n
\n
def getResourceItemList():\n
result = []\n
url_list = context.portal_preferences.getPreferredEventResourceList()\n
url_list = context.portal_preferences.getPreferredMeetingResourceList()\n
for url in url_list:\n
resource_value = context.getPortalObject().restrictedTraverse(url)\n
result.append((resource_value.getTranslatedTitle(), resource_value.getRelativeUrl()))\n
......
......@@ -78,7 +78,7 @@ from Products.ERP5Type.Cache import CachingMethod\n
\n
def getResourceItemList():\n
result = []\n
url_list = context.portal_preferences.getPreferredEventResourceList()\n
url_list = context.portal_preferences.getPreferredSaleOpportunityResourceList()\n
for url in url_list:\n
resource_value = context.getPortalObject().restrictedTraverse(url)\n
result.append((resource_value.getTranslatedTitle(), resource_value.getRelativeUrl()))\n
......
......@@ -78,7 +78,7 @@ from Products.ERP5Type.Cache import CachingMethod\n
\n
def getResourceItemList():\n
result = []\n
url_list = context.portal_preferences.getPreferredEventResourceList()\n
url_list = context.portal_preferences.getPreferredSupportRequestResourceList()\n
for url in url_list:\n
resource_value = context.getPortalObject().restrictedTraverse(url)\n
result.append((resource_value.getTranslatedTitle(), resource_value.getRelativeUrl()))\n
......
108
\ No newline at end of file
109
\ No newline at end of file
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