Commit 58d82eb3 authored by wenjie.zheng's avatar wenjie.zheng

ERP5Site.py: check portal_workflow is in action provider list after migration.

parent 782fe924
......@@ -1668,7 +1668,9 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
self.portal_workflow = new_tool
self.portal_workflow.id = 'portal_workflow'
self._delObject('portal_workflow_new')
# check action provider list
if 'portal_workflow' not in self.portal_actions.listActionProviders():
self.portal_actions.addActionProvider('portal_workflow')
Globals.InitializeClass(ERP5Site)
def getBootstrapDirectory():
......
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