Commit ace84ffa authored by Rafael Monnerat's avatar Rafael Monnerat

Fix for bug 890. last_question was renamed to question_list.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21355 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 052acb1d
......@@ -77,7 +77,7 @@ history = context.portal_workflow.getInfoFor(ob=packing_list,\n
\n
question_list = [question for question in history if question[\'action\'] == \'question_action\' ]\n
if len(question_list) > 0:\n
question = last_question[-1][\'comment\']\n
question = question_list[-1][\'comment\']\n
else:\n
question = \'\'\n
\n
......@@ -174,7 +174,6 @@ Please visit ERP5: %(url)s\n
<string>question</string>
<string>question_list</string>
<string>len</string>
<string>last_question</string>
<string>source_person</string>
<string>destination_decision_person</string>
<string>None</string>
......
514
\ No newline at end of file
516
\ 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