Commit bcd5acce authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

erp5_km: Base_getWorkflowWorklistInfo fix getWorklistValueList's getattr error.

parent f612dbc5
......@@ -57,7 +57,7 @@
\n
portal_workflow = context.getPortalObject().portal_workflow\n
workflow = getattr(portal_workflow, workflow_id)\n
worklist = getattr(workflow.getWorklistValueList(), worklist_id)\n
worklist = workflow.getWorklistValueList()[worklist_id]\n
roles = worklist.getGuard().getRolesText().split(\';\')\n
return roles\n
</string> </value>
......
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