Commit fbd7f610 authored by Romain Courteaud's avatar Romain Courteaud

Requirement should be set on Task Line.

Thanks to Mikolaj Antoszkiewicz

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20538 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0a4e57bd
......@@ -109,9 +109,9 @@ for item in task_items:\n
\n
if item[\'requirement\'] is not None:\n
if isinstance(item[\'requirement\'],str):\n
task.setRequirement(item[\'requirement\'])\n
task.setTaskLineRequirement(item[\'requirement\'])\n
else:\n
task.setRequirementList(item[\'requirement\'])\n
task.setTaskLineRequirementList(item[\'requirement\'])\n
task.setSourceProjectValue(context_obj)\n
\n
# return to the project\n
......
473
\ No newline at end of file
474
\ 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