Commit 7079d69d authored by iv's avatar iv

ERP5Workflow: use base categories for all scripts used by interactions

parent 568cc9ff
......@@ -83,10 +83,10 @@
<string>my_portal_type_group_filter_list</string>
<string>my_trigger_once_per_transaction</string>
<string>my_temporary_document_disallowed</string>
<string>my_before_script_name_list</string>
<string>my_after_script_name_list</string>
<string>my_before_commit_script_name_list</string>
<string>my_activate_script_name_list</string>
<string>my_before_script_list</string>
<string>my_after_script_list</string>
<string>my_before_commit_script_list</string>
<string>my_activate_script_list</string>
</list>
</value>
</item>
......
......@@ -17,7 +17,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_activate_script_name_list</string> </value>
<value> <string>my_activate_script_list</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -118,7 +118,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(x.getTitle(), x.getId()) for x in here.getParent().contentValues(portal_type=\'Workflow Script\')]</string> </value>
<value> <string>python: [(x.getTitle(), x.getId()) for x in context.getParentValue().objectValues(portal_type=\'Workflow Script\')]</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -17,7 +17,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_after_script_name_list</string> </value>
<value> <string>my_after_script_list</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -118,7 +118,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(x.getTitle(), x.getId()) for x in here.getParent().contentValues(portal_type=\'Workflow Script\')]</string> </value>
<value> <string>python: [(x.getTitle(), x.getId()) for x in context.getParentValue().objectValues(portal_type=\'Workflow Script\')]</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -17,7 +17,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_before_commit_script_name_list</string> </value>
<value> <string>my_before_commit_script_list</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -118,7 +118,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(x.getTitle(), x.getId()) for x in here.getParent().contentValues(portal_type=\'Workflow Script\')]</string> </value>
<value> <string>python: [(x.getTitle(), x.getId()) for x in context.getParentValue().objectValues(portal_type=\'Workflow Script\')]</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -17,7 +17,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_before_script_name_list</string> </value>
<value> <string>my_before_script_list</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -118,7 +118,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(x.getTitle(), x.getId()) for x in here.getParent().contentValues(portal_type=\'Workflow Script\')]</string> </value>
<value> <string>python: [(x.getTitle(), x.getId()) for x in context.getParentValue().objectValues(portal_type=\'Workflow Script\')]</string> </value>
</item>
</dictionary>
</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