Commit 51b9ea85 authored by iv's avatar iv

ERP5Workflow: DC workflow compatibility code is for DC workflows

parent 1946c4ee
......@@ -58,7 +58,7 @@ for portal_type in portal_type_list:
for wf_id, portal_type_list in portal_workflow.getChainDict().items():
wf = getattr(portal_workflow, wf_id, None)
if wf is None:
if wf is None or wf.getPortalType() in ('Workflow', 'Interaction Workflow'):
continue
state_var = wf.variables.getStateVar()
if wf.states:
......
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