Commit 25f1f864 authored by Lucas Carvalho's avatar Lucas Carvalho

- changed the worklist

1) List Draft Products
2) List Draft Services
3) List Validated Products
4) List Validated Services

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29047 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7c74f971
...@@ -37,7 +37,7 @@ product_module/view?validation_state=draft&local_roles:list=Assignee&local_roles ...@@ -37,7 +37,7 @@ product_module/view?validation_state=draft&local_roles:list=Assignee&local_roles
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>4_draft_product_list</string> </value> <value> <string>1_draft_product_list</string> </value>
</item> </item>
<item> <item>
<key> <string>var_matches</string> </key> <key> <string>var_matches</string> </key>
......
...@@ -37,7 +37,7 @@ service_module/view?validation_state=draft&local_roles:list=Assignee&local_roles ...@@ -37,7 +37,7 @@ service_module/view?validation_state=draft&local_roles:list=Assignee&local_roles
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>5_draft_service_list</string> </value> <value> <string>2_draft_service_list</string> </value>
</item> </item>
<item> <item>
<key> <string>var_matches</string> </key> <key> <string>var_matches</string> </key>
......
<?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>actbox_category</string> </key>
<value> <string>global</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Purchase Trade Conditions to Validate (%(count)s)</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
purchase_trade_condition_module/view?validation_state=draft&local_roles:list=Assignee&local_roles:list=Assignor&reset=1
]]></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Purchase Trade Conditions to Validate</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_draft_purchase_trade_condition_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>Assignee</string>
<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>Purchase Trade Condition</string>
</tuple>
</value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value>
<tuple>
<string>draft</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -15,19 +15,19 @@ ...@@ -15,19 +15,19 @@
</item> </item>
<item> <item>
<key> <string>actbox_name</string> </key> <key> <string>actbox_name</string> </key>
<value> <string>Persons to Validate (%(count)s)</string> </value> <value> <string>Products to Publish (%(count)s)</string> </value>
</item> </item>
<item> <item>
<key> <string>actbox_url</string> </key> <key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
person_module/view?validation_state=draft&local_roles:list=Assignee&local_roles:list=Assignor&reset=1 product_module/view?validation_state=validated&local_roles:list=Assignee&local_roles:list=Assignor&reset=1
]]></string> </value> ]]></string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>Persons to Validate</string> </value> <value> <string>Products to Published</string> </value>
</item> </item>
<item> <item>
<key> <string>guard</string> </key> <key> <string>guard</string> </key>
...@@ -37,7 +37,7 @@ person_module/view?validation_state=draft&local_roles:list=Assignee&local_roles: ...@@ -37,7 +37,7 @@ person_module/view?validation_state=draft&local_roles:list=Assignee&local_roles:
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>1_draft_person_list</string> </value> <value> <string>3_validate_product_list</string> </value>
</item> </item>
<item> <item>
<key> <string>var_matches</string> </key> <key> <string>var_matches</string> </key>
...@@ -86,7 +86,7 @@ person_module/view?validation_state=draft&local_roles:list=Assignee&local_roles: ...@@ -86,7 +86,7 @@ person_module/view?validation_state=draft&local_roles:list=Assignee&local_roles:
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <value>
<tuple> <tuple>
<string>Person</string> <string>Product</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -94,7 +94,7 @@ person_module/view?validation_state=draft&local_roles:list=Assignee&local_roles: ...@@ -94,7 +94,7 @@ person_module/view?validation_state=draft&local_roles:list=Assignee&local_roles:
<key> <string>validation_state</string> </key> <key> <string>validation_state</string> </key>
<value> <value>
<tuple> <tuple>
<string>draft</string> <string>validated</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -15,19 +15,19 @@ ...@@ -15,19 +15,19 @@
</item> </item>
<item> <item>
<key> <string>actbox_name</string> </key> <key> <string>actbox_name</string> </key>
<value> <string>Organisations to Validate (%(count)s)</string> </value> <value> <string>Products to Publish (%(count)s)</string> </value>
</item> </item>
<item> <item>
<key> <string>actbox_url</string> </key> <key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
organisation_module/view?validation_state=draft&local_roles:list=Assignee&local_roles:list=Assignor&reset=1 service_module/view?validation_state=validated&local_roles:list=Assignee&local_roles:list=Assignor&reset=1
]]></string> </value> ]]></string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>Organisations to Validate</string> </value> <value> <string>Services to Published</string> </value>
</item> </item>
<item> <item>
<key> <string>guard</string> </key> <key> <string>guard</string> </key>
...@@ -37,7 +37,7 @@ organisation_module/view?validation_state=draft&local_roles:list=Assignee&local_ ...@@ -37,7 +37,7 @@ organisation_module/view?validation_state=draft&local_roles:list=Assignee&local_
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>2_draft_organisation_list</string> </value> <value> <string>4_validate_service_list</string> </value>
</item> </item>
<item> <item>
<key> <string>var_matches</string> </key> <key> <string>var_matches</string> </key>
...@@ -86,7 +86,7 @@ organisation_module/view?validation_state=draft&local_roles:list=Assignee&local_ ...@@ -86,7 +86,7 @@ organisation_module/view?validation_state=draft&local_roles:list=Assignee&local_
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <value>
<tuple> <tuple>
<string>Organisation</string> <string>Service</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -94,7 +94,7 @@ organisation_module/view?validation_state=draft&local_roles:list=Assignee&local_ ...@@ -94,7 +94,7 @@ organisation_module/view?validation_state=draft&local_roles:list=Assignee&local_
<key> <string>validation_state</string> </key> <key> <string>validation_state</string> </key>
<value> <value>
<tuple> <tuple>
<string>draft</string> <string>validated</string>
</tuple> </tuple>
</value> </value>
</item> </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>actbox_category</string> </key>
<value> <string>global</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Sale Trade Conditions to Validate (%(count)s)</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
sale_trade_condition_module/view?validation_state=draft&local_roles:list=Assignee&local_roles:list=Assignor&reset=1
]]></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Sale Trade Conditions to Validate</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>6_draft_sale_trade_condition_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>Assignee</string>
<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>Sale Trade Condition</string>
</tuple>
</value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value>
<tuple>
<string>draft</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
214 215
\ No newline at end of file \ 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