Commit 55b5540a authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_project: only get task report

parent 0618b63e
......@@ -24,12 +24,15 @@ else:
task_simulation_state = context.getPortalDraftOrderStateList() + \
context.getPortalPlannedOrderStateList()
task_report_simulation_state = ""
"""
task_list = [x.getObject() for x in \
context.portal_catalog(selection_report=selection_report,
portal_type='Task',
source_project_uid = source_project_uid_list,
simulation_state = task_simulation_state,
**sql_kw)]
"""
task_list = []
task_list.extend([x.getObject() for x in \
context.portal_catalog(selection_report=selection_report,
portal_type='Task Report',
......
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