Commit a8535f83 authored by Romain Courteaud's avatar Romain Courteaud

Fix wrong selection name.

Thanks to Mikolaj Antoszkiewicz

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18807 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 84d8879e
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -75,13 +72,13 @@ domain_list = []\n
if depth == 0:\n
category_list = [ ]\n
for i in context.portal_selections.getSelectionValueList(context=context,\n
selection_name= \'task_selection\'):\n
selection_name= \'task_module_selection\'):\n
category_list.extend([j for j in i.getSourceProjectValueList(portal_type="Project") if j not in category_list])\n
\n
else:\n
category_list = [ ]\n
for i in context.portal_selections.getSelectionValueList(context=context,\n
selection_name=\'task_selection\'):\n
selection_name=\'task_module_selection\'):\n
category_list.extend([j for j in i.getSourceProjectValueList(portal_type=["Project Line", "Project Milestones"]) \\\n
if (j not in category_list) and ( j.getParentRelativeUrl() in parent.getMembershipCriterionCategoryList()) ])\n
\n
......
388
\ No newline at end of file
389
\ 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