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

PortalTypeClassInteractor.py: don't resetDynamic after addTypeWorkflowList to improve performance.

parent 5b0bb86e
......@@ -61,7 +61,6 @@ class PortalTypeClassInteractor(Interactor):
self.on(WorkflowTool.reassignWorkflow).doAfter(self.resetDynamic)
from Products.ERP5Type.ERP5Type import ERP5TypeInformation
self.on(ERP5TypeInformation.addTypeWorkflowList).doAfter(self.resetDynamic)
self.on(ERP5TypeInformation._edit).doAfter(self.resetDynamic)
from Products.ERP5Workflow.Document.Workflow import Workflow
......
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