Commit 63948cad authored by wenjie.zheng's avatar wenjie.zheng

erp5_km: Base_getWorkflowWorklistInfo fix getWorklistValueList's getattr error.

parent f5ed548a
......@@ -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