Commit 7d113cb0 authored by Nicolas Delaby's avatar Nicolas Delaby

Keep prefix feature when export WorkflowChainTemplateItem

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33914 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d5245b1b
...@@ -1834,7 +1834,7 @@ class PortalTypeWorkflowChainTemplateItem(BaseTemplateItem): ...@@ -1834,7 +1834,7 @@ class PortalTypeWorkflowChainTemplateItem(BaseTemplateItem):
# another business template. # another business template.
LOG('BusinessTemplate', WARNING, 'workflow %s not found '\ LOG('BusinessTemplate', WARNING, 'workflow %s not found '\
'in chain for portal_type %s' % (workflow_name, portal_type)) 'in chain for portal_type %s' % (workflow_name, portal_type))
self._objects.setdefault(portal_type, []).append(workflow_name) self._objects.setdefault(portal_type, []).append(workflow)
elif not self.is_bt_for_diff: elif not self.is_bt_for_diff:
raise NotFound, 'No workflow chain found for portal type %s. This '\ raise NotFound, 'No workflow chain found for portal type %s. This '\
'is probably a sign of a missing dependency.'\ 'is probably a sign of a missing dependency.'\
......
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