Commit 3c3159ef authored by wenjie.zheng's avatar wenjie.zheng

erp5_km: Base_getWorkflowWorklistInfo compatibility modification.

parent 841accbf
......@@ -57,7 +57,7 @@
\n
portal_workflow = context.getPortalObject().portal_workflow\n
workflow = getattr(portal_workflow, workflow_id)\n
worklist = getattr(workflow.worklists, worklist_id)\n
worklist = getattr(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