Commit 1e8ff3bd authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

portal_type_class.py: deploy new Workflow Tool class to replace ERP5 Workflow Tool.

parent 9958d81e
...@@ -327,9 +327,9 @@ def synchronizeDynamicModules(context, force=False): ...@@ -327,9 +327,9 @@ def synchronizeDynamicModules(context, force=False):
from Products.ERP5Type.Tool.PropertySheetTool import PropertySheetTool from Products.ERP5Type.Tool.PropertySheetTool import PropertySheetTool
from Products.ERP5Type.Tool.TypesTool import TypesTool from Products.ERP5Type.Tool.TypesTool import TypesTool
from Products.ERP5Type.Tool.ComponentTool import ComponentTool from Products.ERP5Type.Tool.ComponentTool import ComponentTool
from Products.ERP5.Tool.ERP5WorkflowTool import ERP5WorkflowTool from Products.ERP5.Tool.WorkflowTool import WorkflowTool
try: try:
for tool_class in TypesTool, PropertySheetTool, ComponentTool, ERP5WorkflowTool: for tool_class in TypesTool, PropertySheetTool, ComponentTool, WorkflowTool:
# if the instance has no property sheet tool, or incomplete # if the instance has no property sheet tool, or incomplete
# property sheets, we need to import some data to bootstrap # property sheets, we need to import some data to bootstrap
# (only likely to happen on the first run ever) # (only likely to happen on the first run ever)
......
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