Commit cc8868b7 authored by iv's avatar iv

ERP5Workflow: remove acquisition_portal_type on before/after/... scripts categories

parent 65c6fe60
......@@ -16,7 +16,7 @@
</item>
<item>
<key> <string>acquisition_portal_type</string> </key>
<value> <string>python: [\'Interaction\', \'Workflow Script\']</string> </value>
<value> <string>python: []</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
......
......@@ -16,7 +16,7 @@
</item>
<item>
<key> <string>acquisition_portal_type</string> </key>
<value> <string>python: [\'Interaction\', \'Transition\', \'Workflow Script\']</string> </value>
<value> <string>python: []</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
......
......@@ -16,7 +16,7 @@
</item>
<item>
<key> <string>acquisition_portal_type</string> </key>
<value> <string>python:[\'Interaction\', \'Workflow Script\']</string> </value>
<value> <string>python:[]</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
......
......@@ -16,7 +16,7 @@
</item>
<item>
<key> <string>acquisition_portal_type</string> </key>
<value> <string>python: [\'Interaction\', \'Transition\', \'Workflow Script\']</string> </value>
<value> <string>python: []</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
......
......@@ -10,8 +10,8 @@ if batch_mode == False and workflow_id_list is None:
if workflow_list:
for workflow in workflow_list:
if workflow.get('listbox_selected'):
selected_workflow_list.append(context.getObjectFromPath(workflow.get('listbox_key')))
selected_workflow_list.append(context.unrestrictedTraverse(workflow.get('listbox_key')))
if len(selected_workflow_list) == 0:
return context.REQUEST.RESPONSE.redirect(
'%s/WorkflowTool_viewWorkflowConversion?'
......
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