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

erp5_core: deploy universal state getter.

parent 678d26b3
......@@ -226,7 +226,7 @@ for folder in context.portal_skins.objectValues(spec=(\'Folder\',)):\n
for wf in context.portal_workflow.objectValues():\n
\n
# Test workflow states\n
wf_states = wf.states\n
wf_states = wf.getStateValueList()\n
message = \'\'\n
if wf_states not in (None, (), [], \'\'):\n
for state in wf_states.objectValues() :\n
......
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