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

PortalTypeClassInteractor.py: resetDynamic after each workflow conversion.

parent 6fa1a936
......@@ -56,6 +56,10 @@ class PortalTypeClassInteractor(Interactor):
self.on(Localizer.del_language).doAfter(self.resetDynamic)
# New workflow compatibility
from Products.ERP5.Tool.WorkflowTool import WorkflowTool
self.on(WorkflowTool.dc_workflow_asERP5Object).doAfter(self.resetDynamic)
from Products.ERP5Type.ERP5Type import ERP5TypeInformation
self.on(ERP5TypeInformation.addTypeWorkflowList).doAfter(self.resetDynamic)
self.on(ERP5TypeInformation._edit).doAfter(self.resetDynamic)
......
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