Commit 30e6d07b authored by Julien Muchembled's avatar Julien Muchembled

Upgrade of business templates:

Due to a typo in r24832, upgrade of workflows could be be silently skipped.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24855 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 19f02c97
......@@ -1316,7 +1316,7 @@ class WorkflowTemplateItem(ObjectTemplateItem):
for modified_object, state in modified_object_dict.iteritems():
path = modified_object.split('/')
if len(path) > 2:
modified_workflow_dict.setdefault(''.join(path[:2]), ('Modified', state[1]))
modified_workflow_dict.setdefault('/'.join(path[:2]), ('Modified', state[1]))
else:
modified_workflow_dict[modified_object] = state
return modified_workflow_dict
......
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