Commit 21fe018a authored by wenjie.zheng's avatar wenjie.zheng

erp5_workflow_test_data: add user_actions in erp5_validation_workflow.

parent 8be5a03a
...@@ -6,6 +6,24 @@ ...@@ -6,6 +6,24 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>after_script_id</string> </key> <key> <string>after_script_id</string> </key>
<value> <value>
...@@ -44,10 +62,20 @@ ...@@ -44,10 +62,20 @@
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value> <value> <string>Transition</string> </value>
</item> </item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Delete</string> </value> <value> <string>Delete</string> </value>
</item> </item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>delete</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>delete_action</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Delete Action</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -29,7 +29,9 @@ ...@@ -29,7 +29,9 @@
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/erp5_validation_workflow/delete</string> <string>destination/workflow_module/erp5_validation_workflow/delete</string>
<string>destination/workflow_module/erp5_validation_workflow/delete_action</string>
<string>destination/workflow_module/erp5_validation_workflow/validate</string> <string>destination/workflow_module/erp5_validation_workflow/validate</string>
<string>destination/workflow_module/erp5_validation_workflow/validate_action</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -6,6 +6,24 @@ ...@@ -6,6 +6,24 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>after_script_id</string> </key> <key> <string>after_script_id</string> </key>
<value> <value>
...@@ -46,10 +64,20 @@ ...@@ -46,10 +64,20 @@
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value> <value> <string>Transition</string> </value>
</item> </item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Invalidate</string> </value> <value> <string>Invalidate</string> </value>
</item> </item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>invalidate</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>invalidate_action</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Invalidate Action</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -29,7 +29,9 @@ ...@@ -29,7 +29,9 @@
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/erp5_validation_workflow/validate</string> <string>destination/workflow_module/erp5_validation_workflow/validate</string>
<string>destination/workflow_module/erp5_validation_workflow/validate_action</string>
<string>destination/workflow_module/erp5_validation_workflow/delete</string> <string>destination/workflow_module/erp5_validation_workflow/delete</string>
<string>destination/workflow_module/erp5_validation_workflow/delete_action</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -6,6 +6,24 @@ ...@@ -6,6 +6,24 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>after_script_id</string> </key> <key> <string>after_script_id</string> </key>
<value> <value>
...@@ -46,10 +64,20 @@ ...@@ -46,10 +64,20 @@
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value> <value> <string>Transition</string> </value>
</item> </item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Validate</string> </value> <value> <string>Validate</string> </value>
</item> </item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Validate</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>validate</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>groups</string> </key>
<value> <string>()</string> </value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>validate_action</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value> <string>()</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>role_list</string> </key>
<value>
<tuple>
<string>Associate</string>
<string>Author</string>
</tuple>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Validate Action</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/erp5_validation_workflow/invalidate</string> <string>destination/workflow_module/erp5_validation_workflow/invalidate</string>
<string>destination/workflow_module/erp5_validation_workflow/invalidate_action</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
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