Commit 4476163e authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Use bootstrap_bm to bootstrap portal_workflow

parent b025eaa5
......@@ -2223,7 +2223,11 @@ class ERP5Generator(PortalGenerator):
tool = p.portal_workflow
tool.manage_delObjects(filter(tool.hasObject, workflow_list))
self.bootstrap(tool, 'erp5_core', 'WorkflowTemplateItem', workflow_list)
self.bootstrap(tool, 'erp5_business_package', 'WorkflowTemplateItem', manager_workflow_list)
self.bootstrap_bm(tool, 'erp5_business_package', (
'portal_workflow/business_manager_building_workflow',
'portal_workflow/business_manager_installation_workflow',
'portal_types/Business Manager#type_workflow_list',
))
tool.setChainForPortalTypes(('Business Template',), workflow_list)
def setupIndex(self, p, **kw):
......
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