Commit 2ed0290a authored by wenjie.zheng's avatar wenjie.zheng

ERP5Site.py: migrate workflow tool in ERP5Generator.

parent 75839bd5
...@@ -2219,6 +2219,10 @@ class ERP5Generator(PortalGenerator): ...@@ -2219,6 +2219,10 @@ class ERP5Generator(PortalGenerator):
# Make sure the cache is initialized # Make sure the cache is initialized
p.portal_caches.updateCache() p.portal_caches.updateCache()
# Workflow Tool migration. It's better to create an ERP5 Workflow Tool from
# beginning than migrate DC Workflow Tool
p.migrateToPortalWorkflowClass()
self.setupLastTools(p, **kw) self.setupLastTools(p, **kw)
# Make sure tools are cleanly indexed with a uid before creating children # Make sure tools are cleanly indexed with a uid before creating children
......
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