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

erp5_core: universal method related modification.

parent 14f2402d
...@@ -229,7 +229,8 @@ for wf in context.portal_workflow.objectValues():\n ...@@ -229,7 +229,8 @@ for wf in context.portal_workflow.objectValues():\n
wf_states = wf.getStateValueList()\n wf_states = wf.getStateValueList()\n
message = \'\'\n message = \'\'\n
if wf_states not in (None, (), [], \'\'):\n if wf_states not in (None, (), [], \'\'):\n
for state in wf_states.objectValues() :\n for state_id in wf_states.keys():\n
state = wf_state[state_id]\n
message += checkTitle(\'/\'.join([\'portal_workflow\', wf.id, \'states\', state.id]), \'title\', state.title)\n message += checkTitle(\'/\'.join([\'portal_workflow\', wf.id, \'states\', state.id]), \'title\', state.title)\n
if message:\n if message:\n
message_list.append(message)\n message_list.append(message)\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