Commit 53d2ec13 authored by Jérome Perrin's avatar Jérome Perrin

core: fix script selection on InteractionWorkflowInteraction_view

We don't want to show the ID which has a prefix, but the reference
parent d10cf0da
Pipeline #15728 failed with stage
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: [(x.getId(), x.getRelativeUrl()) for x in context.getParentValue().objectValues(portal_type=\'Workflow Script\')]</string> </value> <value> <string>python: [(x.getReference(), x.getRelativeUrl()) for x in context.getParentValue().objectValues(portal_type=\'Workflow Script\')]</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: [(x.getId(), x.getRelativeUrl()) for x in context.getParentValue().objectValues(portal_type=\'Workflow Script\')]</string> </value> <value> <string>python: [(x.getReference(), x.getRelativeUrl()) for x in context.getParentValue().objectValues(portal_type=\'Workflow Script\')]</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: [(x.getId(), x.getRelativeUrl()) for x in context.getParentValue().objectValues(portal_type=\'Workflow Script\')]</string> </value> <value> <string>python: [(x.getReference(), x.getRelativeUrl()) for x in context.getParentValue().objectValues(portal_type=\'Workflow Script\')]</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
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