[Erp5-report] r23093 - in /erp5/trunk/bt5/erp5_calendar: WorkflowTemplateItem/portal_workfl...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Aug 21 17:24:11 CEST 2008
Author: jerome
Date: Thu Aug 21 17:24:09 2008
New Revision: 23093
URL: http://svn.erp5.org?rev=23093&view=rev
Log:
Reimplement leave request workflow in order to have 2 levels of approval. The second one is done with Associate role, and is completly optional.
Added:
erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/ordered.xml
erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/rejected.xml
erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/approve.xml
erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/approve_action.xml
erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/cancel_assignee_action.xml
erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/reject.xml
erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/reject_action.xml
Modified:
erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/cancelled.xml
erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/confirmed.xml
erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/deleted.xml
erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/draft.xml
erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/planned.xml
erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/cancel_action.xml
erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/confirm_action.xml
erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/delete_action.xml
erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/plan_action.xml
erp5/trunk/bt5/erp5_calendar/bt/revision
Modified: erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/cancelled.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/cancelled.xml?rev=23093&r1=23092&r2=23093&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/cancelled.xml (original)
+++ erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/cancelled.xml Thu Aug 21 17:24:09 2008
@@ -54,17 +54,14 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
- <tuple>
- <string>Persistence</string>
- <string>PersistentMapping</string>
- </tuple>
- <none/>
+ <global name="PersistentMapping" module="Persistence.mapping"/>
+ <tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
- <key> <string>_container</string> </key>
+ <key> <string>data</string> </key>
<value>
<dictionary>
<item>
@@ -72,6 +69,7 @@
<value>
<tuple>
<string>Assignee</string>
+ <string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
@@ -82,7 +80,6 @@
<key> <string>Add portal content</string> </key>
<value>
<tuple>
- <string>Assignee</string>
<string>Manager</string>
</tuple>
</value>
@@ -91,7 +88,6 @@
<key> <string>Delete objects</string> </key>
<value>
<tuple>
- <string>Assignee</string>
<string>Manager</string>
</tuple>
</value>
@@ -100,7 +96,6 @@
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
- <string>Assignee</string>
<string>Manager</string>
</tuple>
</value>
@@ -110,6 +105,7 @@
<value>
<tuple>
<string>Assignee</string>
+ <string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
Modified: erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/confirmed.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/confirmed.xml?rev=23093&r1=23092&r2=23093&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/confirmed.xml (original)
+++ erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/confirmed.xml Thu Aug 21 17:24:09 2008
@@ -54,17 +54,14 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
- <tuple>
- <string>Persistence</string>
- <string>PersistentMapping</string>
- </tuple>
- <none/>
+ <global name="PersistentMapping" module="Persistence.mapping"/>
+ <tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
- <key> <string>_container</string> </key>
+ <key> <string>data</string> </key>
<value>
<dictionary>
<item>
@@ -72,6 +69,7 @@
<value>
<tuple>
<string>Assignee</string>
+ <string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
@@ -82,7 +80,6 @@
<key> <string>Add portal content</string> </key>
<value>
<tuple>
- <string>Assignee</string>
<string>Manager</string>
</tuple>
</value>
@@ -91,7 +88,6 @@
<key> <string>Delete objects</string> </key>
<value>
<tuple>
- <string>Assignee</string>
<string>Manager</string>
</tuple>
</value>
@@ -100,7 +96,6 @@
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
- <string>Assignee</string>
<string>Manager</string>
</tuple>
</value>
@@ -110,6 +105,7 @@
<value>
<tuple>
<string>Assignee</string>
+ <string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
Modified: erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/deleted.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/deleted.xml?rev=23093&r1=23092&r2=23093&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/deleted.xml (original)
+++ erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/deleted.xml Thu Aug 21 17:24:09 2008
@@ -51,24 +51,20 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
- <tuple>
- <string>Persistence</string>
- <string>PersistentMapping</string>
- </tuple>
- <none/>
+ <global name="PersistentMapping" module="Persistence.mapping"/>
+ <tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
- <key> <string>_container</string> </key>
+ <key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
- <string>Assignee</string>
<string>Manager</string>
</tuple>
</value>
@@ -101,7 +97,6 @@
<key> <string>View</string> </key>
<value>
<tuple>
- <string>Assignee</string>
<string>Manager</string>
</tuple>
</value>
Modified: erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/draft.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/draft.xml?rev=23093&r1=23092&r2=23093&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/draft.xml (original)
+++ erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/draft.xml Thu Aug 21 17:24:09 2008
@@ -58,17 +58,14 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
- <tuple>
- <string>Persistence</string>
- <string>PersistentMapping</string>
- </tuple>
- <none/>
+ <global name="PersistentMapping" module="Persistence.mapping"/>
+ <tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
- <key> <string>_container</string> </key>
+ <key> <string>data</string> </key>
<value>
<dictionary>
<item>
@@ -76,9 +73,11 @@
<value>
<tuple>
<string>Assignee</string>
+ <string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
+ <string>Owner</string>
</tuple>
</value>
</item>
@@ -88,6 +87,7 @@
<tuple>
<string>Assignee</string>
<string>Manager</string>
+ <string>Owner</string>
</tuple>
</value>
</item>
@@ -97,6 +97,7 @@
<tuple>
<string>Assignee</string>
<string>Manager</string>
+ <string>Owner</string>
</tuple>
</value>
</item>
@@ -106,6 +107,7 @@
<tuple>
<string>Assignee</string>
<string>Manager</string>
+ <string>Owner</string>
</tuple>
</value>
</item>
@@ -114,6 +116,7 @@
<value>
<tuple>
<string>Assignee</string>
+ <string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
Added: erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/ordered.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/ordered.xml?rev=23093&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/ordered.xml (added)
+++ erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/ordered.xml Thu Aug 21 17:24:09 2008
@@ -1,0 +1,125 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="StateDefinition" module="Products.DCWorkflow.States"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>__ac_local_roles__</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value> <string>The request is approved</string> </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>ordered</string> </value>
+ </item>
+ <item>
+ <key> <string>permission_roles</string> </key>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+ </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string>Approved</string> </value>
+ </item>
+ <item>
+ <key> <string>transitions</string> </key>
+ <value>
+ <tuple>
+ <string>cancel</string>
+ <string>cancel_assignee_action</string>
+ <string>confirm</string>
+ <string>confirm_action</string>
+ <string>reject</string>
+ <string>reject_action</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>type_list</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+ <record id="2" aka="AAAAAAAAAAI=">
+ <pickle>
+ <tuple>
+ <global name="PersistentMapping" module="Persistence.mapping"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>data</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>Access contents information</string> </key>
+ <value>
+ <tuple>
+ <string>Assignee</string>
+ <string>Assignor</string>
+ <string>Associate</string>
+ <string>Auditor</string>
+ <string>Manager</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>Assignee</string>
+ <string>Assignor</string>
+ <string>Associate</string>
+ <string>Auditor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/planned.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/planned.xml?rev=23093&r1=23092&r2=23093&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/planned.xml (original)
+++ erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/planned.xml Thu Aug 21 17:24:09 2008
@@ -31,14 +31,18 @@
</item>
<item>
<key> <string>title</string> </key>
- <value> <string>Planned</string> </value>
+ <value> <string>Submitted</string> </value>
</item>
<item>
<key> <string>transitions</string> </key>
<value>
<tuple>
+ <string>approve</string>
+ <string>approve_action</string>
<string>confirm</string>
<string>confirm_action</string>
+ <string>reject</string>
+ <string>reject_action</string>
</tuple>
</value>
</item>
@@ -54,17 +58,14 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
- <tuple>
- <string>Persistence</string>
- <string>PersistentMapping</string>
- </tuple>
- <none/>
+ <global name="PersistentMapping" module="Persistence.mapping"/>
+ <tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
- <key> <string>_container</string> </key>
+ <key> <string>data</string> </key>
<value>
<dictionary>
<item>
@@ -72,6 +73,7 @@
<value>
<tuple>
<string>Assignee</string>
+ <string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
@@ -83,6 +85,8 @@
<value>
<tuple>
<string>Assignee</string>
+ <string>Assignor</string>
+ <string>Associate</string>
<string>Manager</string>
</tuple>
</value>
@@ -92,6 +96,8 @@
<value>
<tuple>
<string>Assignee</string>
+ <string>Assignor</string>
+ <string>Associate</string>
<string>Manager</string>
</tuple>
</value>
@@ -101,6 +107,8 @@
<value>
<tuple>
<string>Assignee</string>
+ <string>Assignor</string>
+ <string>Associate</string>
<string>Manager</string>
</tuple>
</value>
@@ -110,6 +118,7 @@
<value>
<tuple>
<string>Assignee</string>
+ <string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
Added: erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/rejected.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/rejected.xml?rev=23093&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/rejected.xml (added)
+++ erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/states/rejected.xml Thu Aug 21 17:24:09 2008
@@ -1,0 +1,118 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="StateDefinition" module="Products.DCWorkflow.States"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>__ac_local_roles__</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value> <string>The request was rejected</string> </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>rejected</string> </value>
+ </item>
+ <item>
+ <key> <string>permission_roles</string> </key>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+ </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string>Rejected</string> </value>
+ </item>
+ <item>
+ <key> <string>transitions</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>type_list</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+ <record id="2" aka="AAAAAAAAAAI=">
+ <pickle>
+ <tuple>
+ <global name="PersistentMapping" module="Persistence.mapping"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>data</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>Access contents information</string> </key>
+ <value>
+ <tuple>
+ <string>Assignee</string>
+ <string>Assignor</string>
+ <string>Associate</string>
+ <string>Auditor</string>
+ <string>Manager</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>Assignee</string>
+ <string>Assignor</string>
+ <string>Associate</string>
+ <string>Auditor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/approve.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/approve.xml?rev=23093&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/approve.xml (added)
+++ erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/approve.xml Thu Aug 21 17:24:09 2008
@@ -1,0 +1,67 @@
+<?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></string> </value>
+ </item>
+ <item>
+ <key> <string>actbox_url</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>after_script_name</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>guard</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>approve</string> </value>
+ </item>
+ <item>
+ <key> <string>new_state_id</string> </key>
+ <value> <string>ordered</string> </value>
+ </item>
+ <item>
+ <key> <string>script_name</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>trigger_type</string> </key>
+ <value> <int>2</int> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/approve_action.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/approve_action.xml?rev=23093&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/approve_action.xml (added)
+++ erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/approve_action.xml Thu Aug 21 17:24:09 2008
@@ -1,0 +1,87 @@
+<?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>Approve</string> </value>
+ </item>
+ <item>
+ <key> <string>actbox_url</string> </key>
+ <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=approve_action</string> </value>
+ </item>
+ <item>
+ <key> <string>after_script_name</string> </key>
+ <value> <string>approve</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>approve_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>LeaveRequest_checkConsistency</string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string></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>Associate</string>
+ </tuple>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/cancel_action.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/cancel_action.xml?rev=23093&r1=23092&r2=23093&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/cancel_action.xml (original)
+++ erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/cancel_action.xml Thu Aug 21 17:24:09 2008
@@ -77,7 +77,7 @@
<key> <string>roles</string> </key>
<value>
<tuple>
- <string>Assignee</string>
+ <string>Assignor</string>
</tuple>
</value>
</item>
Added: erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/cancel_assignee_action.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/cancel_assignee_action.xml?rev=23093&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/cancel_assignee_action.xml (added)
+++ erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/cancel_assignee_action.xml Thu Aug 21 17:24:09 2008
@@ -1,0 +1,87 @@
+<?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 Request</string> </value>
+ </item>
+ <item>
+ <key> <string>actbox_url</string> </key>
+ <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=cancel_assignee_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>The Assignee cancel his request</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>cancel_assignee_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></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>Assignee</string>
+ </tuple>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/confirm_action.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/confirm_action.xml?rev=23093&r1=23092&r2=23093&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/confirm_action.xml (original)
+++ erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/confirm_action.xml Thu Aug 21 17:24:09 2008
@@ -77,7 +77,7 @@
<key> <string>roles</string> </key>
<value>
<tuple>
- <string>Assignee</string>
+ <string>Assignor</string>
</tuple>
</value>
</item>
Modified: erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/delete_action.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/delete_action.xml?rev=23093&r1=23092&r2=23093&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/delete_action.xml (original)
+++ erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/delete_action.xml Thu Aug 21 17:24:09 2008
@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
- <tuple>
- <string>Products.DCWorkflow.Guard</string>
- <string>Guard</string>
- </tuple>
- <none/>
+ <global name="Guard" module="Products.DCWorkflow.Guard"/>
+ <tuple/>
</tuple>
</pickle>
<pickle>
@@ -81,6 +78,8 @@
<value>
<tuple>
<string>Assignee</string>
+ <string>Assignor</string>
+ <string>Owner</string>
</tuple>
</value>
</item>
Modified: erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/plan_action.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/plan_action.xml?rev=23093&r1=23092&r2=23093&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/plan_action.xml (original)
+++ erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/plan_action.xml Thu Aug 21 17:24:09 2008
@@ -21,7 +21,7 @@
</item>
<item>
<key> <string>actbox_name</string> </key>
- <value> <string>Plan</string> </value>
+ <value> <string>Submit</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
Added: erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/reject.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/reject.xml?rev=23093&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/reject.xml (added)
+++ erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/reject.xml Thu Aug 21 17:24:09 2008
@@ -1,0 +1,67 @@
+<?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></string> </value>
+ </item>
+ <item>
+ <key> <string>actbox_url</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>after_script_name</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>guard</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>reject</string> </value>
+ </item>
+ <item>
+ <key> <string>new_state_id</string> </key>
+ <value> <string>rejected</string> </value>
+ </item>
+ <item>
+ <key> <string>script_name</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>trigger_type</string> </key>
+ <value> <int>2</int> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/reject_action.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/reject_action.xml?rev=23093&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/reject_action.xml (added)
+++ erp5/trunk/bt5/erp5_calendar/WorkflowTemplateItem/portal_workflow/leave_request_workflow/transitions/reject_action.xml Thu Aug 21 17:24:09 2008
@@ -1,0 +1,88 @@
+<?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>Reject</string> </value>
+ </item>
+ <item>
+ <key> <string>actbox_url</string> </key>
+ <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=reject_action</string> </value>
+ </item>
+ <item>
+ <key> <string>after_script_name</string> </key>
+ <value> <string>reject</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>reject_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></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>Assignor</string>
+ <string>Associate</string>
+ </tuple>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_calendar/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/bt/revision?rev=23093&r1=23092&r2=23093&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/bt/revision (original)
+++ erp5/trunk/bt5/erp5_calendar/bt/revision Thu Aug 21 17:24:09 2008
@@ -1,1 +1,1 @@
-328
+329
More information about the Erp5-report
mailing list