Commit d6a5b298 authored by wenjie.zheng's avatar wenjie.zheng

ERP5Site.py: install ERP5 Workflow Tool ater install CMF Core Tool.

parent acfde2cd
...@@ -1708,6 +1708,7 @@ class PortalGenerator: ...@@ -1708,6 +1708,7 @@ class PortalGenerator:
addCMFCoreTool('CMF Skins Tool', None) addCMFCoreTool('CMF Skins Tool', None)
addCMFCoreTool('CMF Undo Tool', None) addCMFCoreTool('CMF Undo Tool', None)
addCMFCoreTool('CMF URL Tool', None) addCMFCoreTool('CMF URL Tool', None)
addERP5Tool(p, 'portal_workflow', 'Workflow Tool')
addCMFDefaultTool = p.manage_addProduct['CMFDefault'].manage_addTool addCMFDefaultTool = p.manage_addProduct['CMFDefault'].manage_addTool
addCMFDefaultTool('Default Discussion Tool', None) addCMFDefaultTool('Default Discussion Tool', None)
...@@ -1716,7 +1717,6 @@ class PortalGenerator: ...@@ -1716,7 +1717,6 @@ class PortalGenerator:
addCMFDefaultTool('Default Properties Tool', None) addCMFDefaultTool('Default Properties Tool', None)
addCMFDefaultTool('Default Metadata Tool', None) addCMFDefaultTool('Default Metadata Tool', None)
addCMFDefaultTool('Default Syndication Tool', None) addCMFDefaultTool('Default Syndication Tool', None)
addERP5Tool(p, 'portal_workflow', 'Workflow Tool')
# try to install CMFUid without raising exceptions if not available # try to install CMFUid without raising exceptions if not available
try: try:
......
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