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

ERP5Site.py: update WorkflowTool import path; remove addERP5Tool for...

ERP5Site.py: update WorkflowTool import path; remove addERP5Tool for WorkflowTool which is not necessary.
parent c12b8f3b
...@@ -45,7 +45,7 @@ import os ...@@ -45,7 +45,7 @@ import os
import warnings import warnings
import transaction import transaction
from App.config import getConfiguration from App.config import getConfiguration
from Products.ERP5.Tool.WorkflowTool import WorkflowTool from Products.ERP5Workflow.Tool.WorkflowTool import WorkflowTool
from zope.lifecycleevent import ObjectCopiedEvent from zope.lifecycleevent import ObjectCopiedEvent
from OFS.event import ObjectClonedEvent from OFS.event import ObjectClonedEvent
from zope.event import notify from zope.event import notify
...@@ -1733,7 +1733,6 @@ class PortalGenerator: ...@@ -1733,7 +1733,6 @@ 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)
......
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