Commit ca0fa701 authored by Sebastien Robin's avatar Sebastien Robin

2008-05-15 Seb

* Do not specify the simulation state of task reports because some
tasks were missing.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20975 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e7c37772
...@@ -77,9 +77,7 @@ task_list = [x.getObject() for x in \\\n ...@@ -77,9 +77,7 @@ task_list = [x.getObject() for x in \\\n
task_list.extend([x.getObject() for x in \\\n task_list.extend([x.getObject() for x in \\\n
context.portal_catalog(selection=selection, selection_report=selection_report, \n context.portal_catalog(selection=selection, selection_report=selection_report, \n
portal_type=\'Task Report\',\n portal_type=\'Task Report\',\n
source_project_uid = source_project_uid_list,\n source_project_uid = source_project_uid_list)])\n
simulation_state=context.getPortalReservedInventoryStateList()+\n
context.getPortalCurrentInventoryStateList())])\n
task_line_list = []\n task_line_list = []\n
for task in task_list:\n for task in task_list:\n
task_line_list.extend(task.objectValues(portal_type=(\'Task Line\', \'Task Report Line\')))\n task_line_list.extend(task.objectValues(portal_type=(\'Task Line\', \'Task Report Line\')))\n
......
482 483
\ No newline at end of file \ 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