Commit b26a53f5 authored by Ayush Tiwari's avatar Ayush Tiwari

ERP5Site: No need to bootstrap non-exisiting workflows

parent 3d2761c1
...@@ -2232,10 +2232,6 @@ class ERP5Generator(PortalGenerator): ...@@ -2232,10 +2232,6 @@ class ERP5Generator(PortalGenerator):
tool.manage_delObjects(filter(tool.hasObject, workflow_list)) tool.manage_delObjects(filter(tool.hasObject, workflow_list))
self.bootstrap(tool, 'erp5_core', 'WorkflowTemplateItem', workflow_list) self.bootstrap(tool, 'erp5_core', 'WorkflowTemplateItem', workflow_list)
tool.setChainForPortalTypes(('Business Template',), workflow_list) tool.setChainForPortalTypes(('Business Template',), workflow_list)
self.bootstrap(tool, 'erp5_business_package', 'WorkflowTemplateItem', (
'business_manager_building_workflow',
'business_manager_installation_workflow',
))
def setupIndex(self, p, **kw): def setupIndex(self, p, **kw):
# Make sure all tools and folders have been indexed # Make sure all tools and folders have been indexed
......
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