Commit 03f24b4a authored by wenjie.zheng's avatar wenjie.zheng

PortalTypeClassInteractor.py: remove reassignWorkflow and...

PortalTypeClassInteractor.py: remove reassignWorkflow and reassignWorkflowWithoutConversion, add addTyprWorkflowList.
parent af9d37e2
......@@ -56,12 +56,8 @@ class PortalTypeClassInteractor(Interactor):
self.on(Localizer.del_language).doAfter(self.resetDynamic)
# New workflow compatibility
from Products.ERP5.Tool.WorkflowTool import WorkflowTool
self.on(WorkflowTool.reassignWorkflow).doAfter(self.resetDynamic)
self.on(WorkflowTool.reassignWorkflowWithoutConversion).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