Commit 8fef7223 authored by wenjie.zheng's avatar wenjie.zheng

erp5_workflow: disable id field in configuration state view; only show...

erp5_workflow: disable id field in configuration state view; only show transition and script in transition before/after script field.
parent d7d81c20
......@@ -85,7 +85,6 @@
<key> <string>left</string> </key>
<value>
<list>
<string>my_id</string>
<string>my_title</string>
<string>my_destination_title_list</string>
</list>
......
......@@ -118,7 +118,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(x.getId(), x.getId()) for x in here.getParent().objectValues()]</string> </value>
<value> <string>python: [(x.getId(), x.getId()) for x in here.getParent().objectValues() if x.getPortalType() in [\'Transition\', \'Workflow Script\']]</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -118,7 +118,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(x.getId(), x.getId()) for x in here.getParent().objectValues()]</string> </value>
<value> <string>python: [(x.getId(), x.getId()) for x in here.getParent().objectValues() if x.getPortalType() in [\'Transition\', \'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