Commit 9148bf87 authored by Romain Courteaud's avatar Romain Courteaud

slapos_subscription_request: restore subscription_request_workflow as ticket_workflow

parent b5d3b98e
......@@ -54,7 +54,58 @@
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Associate</string>
<string>Author</string>
<string>Assignee</string>
<string>Manager</string>
<string>Auditor</string>
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>Delete objects</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Author</string>
<string>Associate</string>
<string>Assignee</string>
<string>Manager</string>
<string>Auditor</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>acquire_permission</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_delivered</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow State</string> </value>
</item>
<item>
<key> <string>state_permission_role_list_dict</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>state_type</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Delivered</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -20,11 +20,19 @@
<string>destination/portal_workflow/subscription_request_workflow/transition_cancel_action</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_delete</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_delete_action</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_plan</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_plan_action</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_submit</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_submit_action</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_validate</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_validate_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
......@@ -72,10 +80,8 @@
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Assignee</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
......@@ -85,9 +91,8 @@
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Assignee</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
......@@ -97,11 +102,10 @@
<key> <string>Delete objects</string> </key>
<value>
<tuple>
<string>Owner</string>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Manager</string>
<string>Owner</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......@@ -109,11 +113,10 @@
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Manager</string>
<string>Owner</string>
<string>Manager</string>
<string>Assignee</string>
</tuple>
</value>
</item>
......@@ -121,12 +124,10 @@
<key> <string>View</string> </key>
<value>
<tuple>
<string>Owner</string>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
<string>Owner</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......
......@@ -16,11 +16,17 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/subscription_request_workflow/transition_start</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_start_action</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_validate</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_validate_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
......@@ -29,7 +35,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_confirmed</string> </value>
<value> <string>state_invalidated</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......@@ -49,7 +55,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Confirmed</string> </value>
<value> <string>Closed</string> </value>
</item>
</dictionary>
</pickle>
......@@ -63,7 +69,56 @@
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
<string>Manager</string>
<string>Auditor</string>
<string>Associate</string>
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>Delete objects</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
<string>Manager</string>
<string>Auditor</string>
<string>Associate</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>acquire_permission</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/subscription_request_workflow/transition_deliver</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_deliver_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_stopped</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow State</string> </value>
</item>
<item>
<key> <string>state_permission_role_list_dict</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>state_type</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Stopped</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -16,20 +16,26 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/subscription_request_workflow/transition_stop</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_stop_action</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_cancel</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_cancel_action</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_validate</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_validate_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Tickets in this state are waiting for approval from the Ticket manager before being further processed.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_started</string> </value>
<value> <string>state_submitted</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......@@ -49,7 +55,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Started</string> </value>
<value> <string>Submitted</string> </value>
</item>
</dictionary>
</pickle>
......@@ -63,7 +69,57 @@
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
<string>Manager</string>
<string>Auditor</string>
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>Delete objects</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
<string>Manager</string>
<string>Auditor</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
......
......@@ -16,20 +16,26 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/subscription_request_workflow/transition_order</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_order_action</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_invalidate</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_invalidate_action</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_validate</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_validate_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Support requests that is temporarily suspended (waiting for an answer from another department or from the customer) </string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_planned</string> </value>
<value> <string>state_suspended</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......@@ -49,7 +55,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Planned</string> </value>
<value> <string>Suspended</string> </value>
</item>
</dictionary>
</pickle>
......@@ -63,7 +69,60 @@
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
<string>Manager</string>
<string>Auditor</string>
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>Delete objects</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
<string>Manager</string>
<string>Auditor</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
......
......@@ -16,11 +16,19 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/subscription_request_workflow/transition_confirm</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_confirm_action</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_invalidate</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_invalidate_action</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_suspend</string>
<string>destination/portal_workflow/subscription_request_workflow/transition_suspend_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
......@@ -29,7 +37,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_ordered</string> </value>
<value> <string>state_validated</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......@@ -49,7 +57,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Ordered</string> </value>
<value> <string>Opened</string> </value>
</item>
</dictionary>
</pickle>
......@@ -63,7 +71,62 @@
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
<string>Manager</string>
<string>Auditor</string>
<string>Associate</string>
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>Delete objects</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
<string>Manager</string>
<string>Auditor</string>
<string>Associate</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
......
......@@ -42,15 +42,17 @@
<item>
<key> <string>guard_permission</string> </key>
<value>
<tuple>
<string>Modify portal content</string>
</tuple>
<tuple/>
</value>
</item>
<item>
<key> <string>guard_role</string> </key>
<value>
<tuple/>
<tuple>
<string>Owner</string>
<string>Assignee</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
......
......@@ -19,7 +19,6 @@
<value>
<tuple>
<string>action_type/workflow</string>
<string>before_script/portal_workflow/subscription_request_workflow/script_checkConsistency</string>
<string>after_script/portal_workflow/subscription_request_workflow/transition_cancel</string>
</tuple>
</value>
......@@ -39,16 +38,16 @@
<item>
<key> <string>guard_permission</string> </key>
<value>
<tuple>
<string>Modify portal content</string>
</tuple>
<tuple/>
</value>
</item>
<item>
<key> <string>guard_role</string> </key>
<value>
<tuple>
<string>Assignor or Assignee</string>
<string>Assignee</string>
<string>Assignor</string>
<string>Owner</string>
</tuple>
</value>
</item>
......@@ -68,7 +67,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>CancelAction</string> </value>
<value> <string>Cancel Action</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/workflow</string>
<string>destination/portal_workflow/subscription_request_workflow/state_confirmed</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_permission</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_confirm</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Confirm</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -39,6 +39,16 @@
<tuple/>
</value>
</item>
<item>
<key> <string>guard_role</string> </key>
<value>
<tuple>
<string>Owner</string>
<string>Assignee</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value>
......
......@@ -51,6 +51,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Owner</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/workflow</string>
<string>destination/portal_workflow/subscription_request_workflow/state_delivered</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_permission</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_deliver</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Deliver</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -23,7 +23,7 @@
<value>
<tuple>
<string>action_type/workflow</string>
<string>destination/portal_workflow/subscription_request_workflow/state_started</string>
<string>destination/portal_workflow/subscription_request_workflow/state_invalidated</string>
</tuple>
</value>
</item>
......@@ -42,15 +42,16 @@
<item>
<key> <string>guard_permission</string> </key>
<value>
<tuple>
<string>Modify portal content</string>
</tuple>
<tuple/>
</value>
</item>
<item>
<key> <string>guard_role</string> </key>
<value>
<tuple/>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
</tuple>
</value>
</item>
<item>
......@@ -61,7 +62,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_start</string> </value>
<value> <string>transition_invalidate</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......@@ -69,7 +70,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Start</string> </value>
<value> <string>Close Ticket</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
......
......@@ -8,19 +8,18 @@
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=confirm_action</string> </value>
<value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=validate_action</string> </value>
</item>
<item>
<key> <string>action_name</string> </key>
<value> <string>Confirm</string> </value>
<value> <string>Close Ticket</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/workflow</string>
<string>before_script/portal_workflow/subscription_request_workflow/script_checkConsistency</string>
<string>after_script/portal_workflow/subscription_request_workflow/transition_confirm</string>
<string>after_script/portal_workflow/subscription_request_workflow/transition_invalidate</string>
</tuple>
</value>
</item>
......@@ -59,7 +58,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_confirm_action</string> </value>
<value> <string>transition_invalidate_action</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......@@ -67,7 +66,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Confirm Action</string> </value>
<value> <string>Close Ticket Action</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/workflow</string>
<string>destination/portal_workflow/subscription_request_workflow/state_planned</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_permission</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_plan</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Plan</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=start_action</string> </value>
</item>
<item>
<key> <string>action_name</string> </key>
<value> <string>Start</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/workflow</string>
<string>before_script/portal_workflow/subscription_request_workflow/script_checkConsistency</string>
<string>after_script/portal_workflow/subscription_request_workflow/transition_start</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_group</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>guard_permission</string> </key>
<value>
<tuple>
<string>Modify portal content</string>
</tuple>
</value>
</item>
<item>
<key> <string>guard_role</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
</tuple>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_start_action</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Start Action</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=stop_action</string> </value>
</item>
<item>
<key> <string>action_name</string> </key>
<value> <string>Stop</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/workflow</string>
<string>before_script/portal_workflow/subscription_request_workflow/script_checkConsistency</string>
<string>after_script/portal_workflow/subscription_request_workflow/transition_stop</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_group</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>guard_permission</string> </key>
<value>
<tuple>
<string>Modify portal content</string>
</tuple>
</value>
</item>
<item>
<key> <string>guard_role</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
</tuple>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_stop_action</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Stop Action</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/workflow</string>
<string>destination/portal_workflow/subscription_request_workflow/state_submitted</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>The submit logical transition sets the Ticket state to submitted.</string> </value>
</item>
<item>
<key> <string>guard_group</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>guard_permission</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>guard_role</string> </key>
<value>
<tuple>
<string>Owner</string>
<string>Assignee</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_submit</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Request Approval</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -8,27 +8,25 @@
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=order_action</string> </value>
<value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=submit_action</string> </value>
</item>
<item>
<key> <string>action_name</string> </key>
<value> <string>Order</string> </value>
<value> <string>Request Approval</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/workflow</string>
<string>after_script/portal_workflow/subscription_request_workflow/transition_submit</string>
<string>before_script/portal_workflow/subscription_request_workflow/script_checkConsistency</string>
<string>after_script/portal_workflow/subscription_request_workflow/transition_order</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
<value> <string>The submit logical transition sets the Ticket state to submitted.</string> </value>
</item>
<item>
<key> <string>guard_group</string> </key>
......@@ -39,17 +37,16 @@
<item>
<key> <string>guard_permission</string> </key>
<value>
<tuple>
<string>Modify portal content</string>
</tuple>
<tuple/>
</value>
</item>
<item>
<key> <string>guard_role</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Owner</string>
<string>Assignee</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......@@ -61,7 +58,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_order_action</string> </value>
<value> <string>transition_submit_action</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......@@ -69,7 +66,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Order Action</string> </value>
<value> <string>Request Approval Action</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
......
......@@ -23,7 +23,7 @@
<value>
<tuple>
<string>action_type/workflow</string>
<string>destination/portal_workflow/subscription_request_workflow/state_ordered</string>
<string>destination/portal_workflow/subscription_request_workflow/state_suspended</string>
</tuple>
</value>
</item>
......@@ -42,15 +42,16 @@
<item>
<key> <string>guard_permission</string> </key>
<value>
<tuple>
<string>Modify portal content</string>
</tuple>
<tuple/>
</value>
</item>
<item>
<key> <string>guard_role</string> </key>
<value>
<tuple/>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
......@@ -61,7 +62,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_order</string> </value>
<value> <string>transition_suspend</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......@@ -69,7 +70,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Order</string> </value>
<value> <string>Suspend</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
......
......@@ -8,18 +8,18 @@
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=deliver_action</string> </value>
<value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=suspend_action</string> </value>
</item>
<item>
<key> <string>action_name</string> </key>
<value> <string>Deliver</string> </value>
<value> <string>Suspend</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/workflow</string>
<string>after_script/portal_workflow/subscription_request_workflow/transition_deliver</string>
<string>after_script/portal_workflow/subscription_request_workflow/transition_suspend</string>
</tuple>
</value>
</item>
......@@ -45,8 +45,8 @@
<key> <string>guard_role</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......@@ -58,7 +58,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_deliver_action</string> </value>
<value> <string>transition_suspend_action</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......@@ -66,7 +66,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Deliver Action</string> </value>
<value> <string>Suspend Action</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
......
......@@ -23,7 +23,7 @@
<value>
<tuple>
<string>action_type/workflow</string>
<string>destination/portal_workflow/subscription_request_workflow/state_stopped</string>
<string>destination/portal_workflow/subscription_request_workflow/state_validated</string>
</tuple>
</value>
</item>
......@@ -42,15 +42,15 @@
<item>
<key> <string>guard_permission</string> </key>
<value>
<tuple>
<string>Modify portal content</string>
</tuple>
<tuple/>
</value>
</item>
<item>
<key> <string>guard_role</string> </key>
<value>
<tuple/>
<tuple>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
......@@ -61,7 +61,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_stop</string> </value>
<value> <string>transition_validate</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......@@ -69,7 +69,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Stop</string> </value>
<value> <string>Open Ticket</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
......
......@@ -8,11 +8,11 @@
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=plan_action</string> </value>
<value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=validate_action</string> </value>
</item>
<item>
<key> <string>action_name</string> </key>
<value> <string>Plan</string> </value>
<value> <string>Open Ticket</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
......@@ -20,7 +20,7 @@
<tuple>
<string>action_type/workflow</string>
<string>before_script/portal_workflow/subscription_request_workflow/script_checkConsistency</string>
<string>after_script/portal_workflow/subscription_request_workflow/transition_plan</string>
<string>after_script/portal_workflow/subscription_request_workflow/transition_validate</string>
</tuple>
</value>
</item>
......@@ -47,7 +47,6 @@
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
</tuple>
</value>
</item>
......@@ -59,7 +58,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_plan_action</string> </value>
<value> <string>transition_validate_action</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......@@ -67,7 +66,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Plan Action</string> </value>
<value> <string>Open Ticket Action</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
......
......@@ -38,7 +38,7 @@
</item>
<item>
<key> <string>variable_default_expression</string> </key>
<value> <string>user/getUserName</string> </value>
<value> <string>user/getIdOrUserName</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -8,7 +8,7 @@
<dictionary>
<item>
<key> <string>automatic_update</string> </key>
<value> <int>0</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>description</string> </key>
......
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