Commit 56d1c447 authored by Rafael Monnerat's avatar Rafael Monnerat

Modified Domain, use edition with the previous configuration makes the edition inconsistent.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16893 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 50c9168a
......@@ -78,13 +78,13 @@ domain_list = []\n
if depth == 0:\n
category_list = [ context.task_report_module.getObject() ] \n
\n
elif depth == 1:\n
category_list = context.portal_selections.getSelectionValueList(context=context,\n
selection_name= \'task_report_selection\')\n
# XXX this is usefull but Breaks the edition\n
#elif depth == 1:\n
# category_list = context.portal_selections.getSelectionValueList(context=context,\n
# selection_name= \'task_report_selection\')\n
\n
\n
else:\n
#url = category.getProperty(\'membership_criterion_category\')\n
#category_list = url.searchFolder()\n
return domain_list\n
\n
for category in category_list:\n
......
......@@ -68,16 +68,16 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>node_list = context.portal_selections.getSelectionValueList(context=context, \n
<value> <string># Get the Object showed at List Box \n
node_list = context.portal_selections.getSelectionValueList(context=context, \n
REQUEST=context.REQUEST, \n
selection_name=\'task_report_selection\')\n
\n
\n
return_list = [ i.asContext() for i in node_list ]\n
\n
for j in return_list:\n
# Creates the relation just for Planning Box Presentation\n
j.edit(source=context.task_report_module.getRelativeUrl())\n
j.edit(destination=j.getRelativeUrl())\n
\n
return return_list\n
</string> </value>
......
313
\ No newline at end of file
315
\ 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