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

erp5_workflow: configuration workflow type and view repairs.

parent b75b930e
<allowed_content_type_list>
<portal_type id="Configuration Transition">
<item>Transition Variable</item>
</portal_type>
<portal_type id="Configuration Workflow">
<item>Configuration State</item>
<item>Configuration Transition</item>
<item>Variable</item>
<item>Worklist</item>
</portal_type>
<portal_type id="Interaction">
<item>Transition Variable</item>
......
......@@ -8,9 +8,7 @@
<dictionary>
<item>
<key> <string>content_icon</string> </key>
<value>
<none/>
</value>
<value> <string>document.gif</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......
......@@ -6,11 +6,13 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>acquire_local_roles</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>content_icon</string> </key>
<value>
<none/>
</value>
<value> <string>document.gif</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......
......@@ -14,6 +14,12 @@
<key> <string>description</string> </key>
<value> <string>An ERP5 permission roles bonder.</string> </value>
</item>
<item>
<key> <string>erp5workflow_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>PermissionRoles</string> </value>
......@@ -50,6 +56,12 @@
<tuple/>
</value>
</item>
<item>
<key> <string>workflow_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -39,6 +39,12 @@
A ERP5 State.\n
</string> </value>
</item>
<item>
<key> <string>erp5workflow_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addState</string> </value>
......@@ -79,6 +85,12 @@
<tuple/>
</value>
</item>
<item>
<key> <string>workflow_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -42,6 +42,12 @@
<value> <string>A ERP5 Transition Variable.\n
</string> </value>
</item>
<item>
<key> <string>erp5workflow_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addVariable</string> </value>
......@@ -72,6 +78,12 @@
<key> <string>type_class</string> </key>
<value> <string>Variable</string> </value>
</item>
<item>
<key> <string>workflow_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -39,6 +39,12 @@
A ERP5 Variable.\n
</string> </value>
</item>
<item>
<key> <string>erp5workflow_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addVariable</string> </value>
......@@ -55,6 +61,12 @@
<key> <string>type_class</string> </key>
<value> <string>Variable</string> </value>
</item>
<item>
<key> <string>workflow_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -18,6 +18,12 @@
<none/>
</value>
</item>
<item>
<key> <string>erp5workflow_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Workflow Script</string> </value>
......@@ -54,6 +60,12 @@
<tuple/>
</value>
</item>
<item>
<key> <string>workflow_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -41,6 +41,12 @@
<key> <string>description</string> </key>
<value> <string>An ERP5 Workflow.</string> </value>
</item>
<item>
<key> <string>erp5workflow_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addWorkflow</string> </value>
......@@ -91,6 +97,12 @@
<tuple/>
</value>
</item>
<item>
<key> <string>workflow_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -20,6 +20,12 @@
A ERP5 Worklist.\n
</string> </value>
</item>
<item>
<key> <string>erp5workflow_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addWorklist</string> </value>
......@@ -36,6 +42,12 @@
<key> <string>type_class</string> </key>
<value> <string>Worklist</string> </value>
</item>
<item>
<key> <string>workflow_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -64,7 +64,9 @@
<item>
<key> <string>bottom</string> </key>
<value>
<list/>
<list>
<string>listbox</string>
</list>
</value>
</item>
<item>
......@@ -85,9 +87,9 @@
<key> <string>left</string> </key>
<value>
<list>
<string>my_id</string>
<string>my_title</string>
<string>my_destination_title</string>
<string>my_guard_expression</string>
</list>
</value>
</item>
......@@ -95,6 +97,7 @@
<key> <string>right</string> </key>
<value>
<list>
<string>my_transition_form_id</string>
<string>my_before_script_id</string>
<string>my_after_script_id</string>
</list>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>columns</string>
<string>portal_types</string>
<string>selection_name</string>
<string>title</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>causality_title</string>
<string>Causality</string>
</tuple>
<tuple>
<string>Variable_getNonEvaluatedInitialValue</string>
<string>Value</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_view_mode_listbox</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>portal_types</string> </key>
<value>
<list>
<tuple>
<string>Transition Variable</string>
<string>Transition Variable</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>selection_name</string> </key>
<value> <string>transition_variable_selection</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Transition Variables</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -8,7 +8,7 @@
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>my_id</string> </value>
<value> <string>my_transition_form_id</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -77,6 +77,10 @@
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>input_type</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
......@@ -152,6 +156,10 @@
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>input_type</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
......@@ -205,7 +213,7 @@
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
<value> <int>40</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
......@@ -227,6 +235,10 @@
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>input_type</string> </key>
<value> <string>text</string> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
......@@ -237,7 +249,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>ID</string> </value>
<value> <string>Form</string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
......
......@@ -86,7 +86,7 @@
<value>
<list>
<string>my_title</string>
<string>my_state_variable_name</string>
<string>my_state_base_category</string>
</list>
</value>
</item>
......
......@@ -17,7 +17,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_state_variable_name</string> </value>
<value> <string>my_state_base_category</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.getId(), x.getId()) for x in here.getPortalObject().portal_categories.objectValues()]</string> </value>
<value> <string>python: [(x.getTitleOrId(), x.getId()) for x in here.getPortalObject().portal_categories.objectValues()]</string> </value>
</item>
</dictionary>
</pickle>
......
Configuration Transition | Transition Variable
Configuration Workflow | Configuration State
Configuration Workflow | Configuration Transition
Configuration Workflow | Variable
Configuration Workflow | Worklist
Interaction Workflow | Interaction
Interaction Workflow | Variable
Interaction Workflow | Workflow Script
......
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