Commit 3dc8fcfc authored by Arnaud Fontaine's avatar Arnaud Fontaine

SQUASH

parent 34eadfad
......@@ -983,6 +983,9 @@ def convertToERP5Workflow(self, temp_object=False):
transition.setGuardGroupList(tdef.guard.groups)
if tdef.guard.expr is not None:
transition.setGuardExpression(tdef.guard.expr.text)
else:
# Override value set in WorkflowTransition_init
transition.setGuardPermissionList([])
for transition in workflow.objectValues(portal_type='Workflow Transition'):
# configure after/before scripts
......
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