Commit 8896cb35 authored by Aurel's avatar Aurel

modules permissions change after update

add action to do cancel after deliver only for manager

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18577 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c6df2248
......@@ -207,6 +207,9 @@
<name>Add Formulator Forms</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Add HBTreeFolder2s</name>
</permission>
<permission type='tuple'>
<name>Add LocalContents</name>
<role>Manager</role>
......@@ -463,9 +466,6 @@
<name>Edit Factories</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='tuple'>
<name>Edit ReStructuredText</name>
<role>Manager</role>
......@@ -666,9 +666,6 @@
<role>Author</role>
<role>Manager</role>
</permission>
<permission type='list'>
<name>View DOM hierarchy</name>
</permission>
<permission type='tuple'>
<name>View History</name>
<role>Assignee</role>
......
......@@ -207,6 +207,9 @@
<name>Add Formulator Forms</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Add HBTreeFolder2s</name>
</permission>
<permission type='tuple'>
<name>Add LocalContents</name>
<role>Manager</role>
......@@ -463,9 +466,6 @@
<name>Edit Factories</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='tuple'>
<name>Edit ReStructuredText</name>
<role>Manager</role>
......@@ -666,9 +666,6 @@
<role>Author</role>
<role>Manager</role>
</permission>
<permission type='list'>
<name>View DOM hierarchy</name>
</permission>
<permission type='tuple'>
<name>View History</name>
<role>Assignee</role>
......
......@@ -203,6 +203,9 @@
<name>Add Formulator Forms</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Add HBTreeFolder2s</name>
</permission>
<permission type='tuple'>
<name>Add LocalContents</name>
<role>Manager</role>
......@@ -458,9 +461,6 @@
<name>Edit Factories</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='tuple'>
<name>Edit ReStructuredText</name>
<role>Manager</role>
......@@ -656,9 +656,6 @@
<role>Author</role>
<role>Manager</role>
</permission>
<permission type='list'>
<name>View DOM hierarchy</name>
</permission>
<permission type='tuple'>
<name>View History</name>
<role>Assignee</role>
......
......@@ -210,6 +210,9 @@
<name>Add Formulator Forms</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Add HBTreeFolder2s</name>
</permission>
<permission type='tuple'>
<name>Add LocalContents</name>
<role>Manager</role>
......@@ -468,9 +471,6 @@
<name>Edit Factories</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='tuple'>
<name>Edit ReStructuredText</name>
<role>Manager</role>
......@@ -673,9 +673,6 @@
<role>Author</role>
<role>Manager</role>
</permission>
<permission type='list'>
<name>View DOM hierarchy</name>
</permission>
<permission type='tuple'>
<name>View History</name>
<role>Assignee</role>
......
......@@ -208,6 +208,9 @@
<name>Add Formulator Forms</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Add HBTreeFolder2s</name>
</permission>
<permission type='tuple'>
<name>Add LocalContents</name>
<role>Manager</role>
......@@ -464,9 +467,6 @@
<name>Edit Factories</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='tuple'>
<name>Edit ReStructuredText</name>
<role>Manager</role>
......@@ -668,9 +668,6 @@
<role>Author</role>
<role>Manager</role>
</permission>
<permission type='list'>
<name>View DOM hierarchy</name>
</permission>
<permission type='tuple'>
<name>View History</name>
<role>Assignee</role>
......
......@@ -208,6 +208,9 @@
<name>Add Formulator Forms</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Add HBTreeFolder2s</name>
</permission>
<permission type='tuple'>
<name>Add LocalContents</name>
<role>Manager</role>
......@@ -464,9 +467,6 @@
<name>Edit Factories</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='tuple'>
<name>Edit ReStructuredText</name>
<role>Manager</role>
......@@ -668,9 +668,6 @@
<role>Author</role>
<role>Manager</role>
</permission>
<permission type='list'>
<name>View DOM hierarchy</name>
</permission>
<permission type='tuple'>
<name>View History</name>
<role>Assignee</role>
......
......@@ -208,6 +208,9 @@
<name>Add Formulator Forms</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Add HBTreeFolder2s</name>
</permission>
<permission type='tuple'>
<name>Add LocalContents</name>
<role>Manager</role>
......@@ -466,9 +469,6 @@
<name>Edit Factories</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='tuple'>
<name>Edit ReStructuredText</name>
<role>Manager</role>
......@@ -671,9 +671,6 @@
<role>Author</role>
<role>Manager</role>
</permission>
<permission type='list'>
<name>View DOM hierarchy</name>
</permission>
<permission type='tuple'>
<name>View History</name>
<role>Assignee</role>
......
......@@ -208,6 +208,9 @@
<name>Add Formulator Forms</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Add HBTreeFolder2s</name>
</permission>
<permission type='tuple'>
<name>Add LocalContents</name>
<role>Manager</role>
......@@ -466,10 +469,6 @@
<name>Edit Factories</name>
<role>Manager</role>
</permission>
<permission type='tuple'>
<name>Edit ParsedXML</name>
<role>Manager</role>
</permission>
<permission type='tuple'>
<name>Edit ReStructuredText</name>
<role>Manager</role>
......@@ -673,10 +672,6 @@
<role>Author</role>
<role>Manager</role>
</permission>
<permission type='tuple'>
<name>View DOM hierarchy</name>
<role>Manager</role>
</permission>
<permission type='tuple'>
<name>View History</name>
<role>Assignee</role>
......
......@@ -208,6 +208,9 @@
<name>Add Formulator Forms</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Add HBTreeFolder2s</name>
</permission>
<permission type='tuple'>
<name>Add LocalContents</name>
<role>Manager</role>
......@@ -466,9 +469,6 @@
<name>Edit Factories</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='tuple'>
<name>Edit ReStructuredText</name>
<role>Manager</role>
......@@ -671,9 +671,6 @@
<role>Author</role>
<role>Manager</role>
</permission>
<permission type='list'>
<name>View DOM hierarchy</name>
</permission>
<permission type='tuple'>
<name>View History</name>
<role>Assignee</role>
......
......@@ -44,7 +44,7 @@
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>deliver_to_cancel_action</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Cancel</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=deliver_to_cancel_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>cancel</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>deliver_to_cancel_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Cancel</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -38,7 +38,7 @@
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>deliver_to_cancel_action</string>
</tuple>
</value>
</item>
......
......@@ -80,7 +80,6 @@
<string>Manager</string>
<string>Assignor</string>
<string>Assignee</string>
<string>DestinationAssignee</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Cancel</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=deliver_to_cancel_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>cancel</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>deliver_to_cancel_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Cancel</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -80,6 +80,11 @@ if source is None:\n
msg = Message(domain=\'ui\', message=\'No counter defined.\')\n
raise ValidationFailed, (msg,)\n
\n
destination_payment = transaction.getDestinationPayment()\n
if destination_payment is None:\n
msg = Message(domain=\'ui\', message=\'No account defined.\')\n
raise ValidationFailed, (msg,)\n
\n
if sum([len(x.getAggregateList()) for x in transaction.objectValues(portal_type=[\'Checkbook Delivery Line\'])]) == 0:\n
msg = Message(domain=\'ui\', message=\'No checkbook selected for delivery.\')\n
raise ValidationFailed, (msg,) \n
......@@ -171,6 +176,7 @@ for line in line_list:\n
<string>None</string>
<string>source</string>
<string>msg</string>
<string>destination_payment</string>
<string>sum</string>
<string>append</string>
<string>$append0</string>
......
......@@ -65,13 +65,19 @@
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Auditor</string>
<string>Assistant</string>
<string>Manager</string>
<string>Owner</string>
<string>Assistant</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
......@@ -84,10 +90,10 @@
<key> <string>View</string> </key>
<value>
<tuple>
<string>Auditor</string>
<string>Assistant</string>
<string>Manager</string>
<string>Owner</string>
<string>Assistant</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
......
......@@ -44,7 +44,7 @@
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>deliver_to_cancel_action</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Cancel</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=deliver_to_cancel_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>cancel</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>deliver_to_cancel_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Cancel</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -38,7 +38,7 @@
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>deliver_to_cancel_action</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Cancel</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=deliver_to_cancel_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>cancel</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>deliver_to_cancel_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Cancel</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -38,7 +38,7 @@
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>deliver_to_cancel_action</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Cancel</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=deliver_to_cancel_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>cancel</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>deliver_to_cancel_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Cancel</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -38,7 +38,7 @@
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>deliver_to_cancel_action</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Cancel</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=deliver_to_cancel_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>cancel</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>deliver_to_cancel_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Cancel</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -38,7 +38,7 @@
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>deliver_to_cancel_action</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Cancel</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=deliver_to_cancel_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>cancel</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>deliver_to_cancel_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Cancel</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -38,7 +38,7 @@
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>deliver_to_cancel_action</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Cancel</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=deliver_to_cancel_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>cancel</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>deliver_to_cancel_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Cancel</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
357
\ No newline at end of file
358
\ No newline at end of file
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