Commit 238dc43e authored by Jérome Perrin's avatar Jérome Perrin

worklists for Leave Requests

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23127 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d729640c
......@@ -21,13 +21,13 @@
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Draft Leave Requests (%(count)s)</string> </value>
<value> <string>Leave Requests to Submit(%(count)s)</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
leave_request_module?simulation_state=draft&local_roles=Owner&reset:int=1
leave_request_module/view?simulation_state=draft&local_roles=Owner&reset:int=1
]]></string> </value>
</item>
......
......@@ -21,13 +21,13 @@
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Planned Leave Requests (%(count)s)</string> </value>
<value> <string>Leave Requests to Approve (%(count)s)</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
leave_request_module?simulation_state=planned&local_roles=Assignee&reset:int=1
leave_request_module/view?simulation_state=planned&local_roles:list=Associate&local_roles:list=Assignor&reset:int=1
]]></string> </value>
</item>
......@@ -67,7 +67,8 @@ leave_request_module?simulation_state=planned&local_roles=Assignee&reset:int=1
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Associate</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="WorklistDefinition" module="Products.DCWorkflow.Worklists"/>
<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>global</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Leave Requests to Validate (%(count)s)</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
leave_request_module/view?simulation_state=ordered&local_roles=Assignor&reset:int=1
]]></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Ordered Leave 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>3_ordered_leave_request_list</string> </value>
</item>
<item>
<key> <string>var_matches</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</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>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>portal_type</string> </key>
<value>
<tuple>
<string>Leave Request</string>
</tuple>
</value>
</item>
<item>
<key> <string>simulation_state</string> </key>
<value>
<tuple>
<string>ordered</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
330
\ No newline at end of file
332
\ 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