From 47a0f8114588a83d523e11ddda14e631fe06f895 Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Wed, 4 Nov 2009 13:23:38 +0000
Subject: [PATCH] update worklist to use validation_state instead of
 simulation_state. Some worklist url were bad, fix them

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30287 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../worklists/1_draft_apparel_component_list.xml              | 2 +-
 .../worklists/1_draft_apparel_fabric.xml                      | 2 +-
 .../worklists/2_proposed_apparel_component_list.xml           | 2 +-
 .../worklists/2_proposed_apparel_fabric_list.xml              | 4 ++--
 .../worklists/3_approved_apparel_component_list.xml           | 4 ++--
 .../worklists/3_approved_apparel_fabric_list.xml              | 4 ++--
 .../worklists/4_sourcing_apparel_component_list.xml           | 4 ++--
 .../worklists/4_sourcing_apparel_fabric_list.xml              | 4 ++--
 bt5/erp5_apparel/bt/revision                                  | 2 +-
 9 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/1_draft_apparel_component_list.xml b/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/1_draft_apparel_component_list.xml
index 2a24ab2ce5..8d1657a54b 100644
--- a/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/1_draft_apparel_component_list.xml
+++ b/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/1_draft_apparel_component_list.xml
@@ -90,7 +90,7 @@ apparel_component_module/view?validation_state=draft&local_roles:list=Owner&rese
                     </value>
                 </item>
                 <item>
-                    <key> <string>simulation_state</string> </key>
+                    <key> <string>validation_state</string> </key>
                     <value>
                       <tuple>
                         <string>draft</string>
diff --git a/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/1_draft_apparel_fabric.xml b/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/1_draft_apparel_fabric.xml
index 60df753424..f4614747f3 100644
--- a/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/1_draft_apparel_fabric.xml
+++ b/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/1_draft_apparel_fabric.xml
@@ -90,7 +90,7 @@ apparel_fabric_module/view?validation_state=draft&local_roles:list=Owner&reset=1
                     </value>
                 </item>
                 <item>
-                    <key> <string>simulation_state</string> </key>
+                    <key> <string>validation_state</string> </key>
                     <value>
                       <tuple>
                         <string>draft</string>
diff --git a/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/2_proposed_apparel_component_list.xml b/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/2_proposed_apparel_component_list.xml
index a8af5d615f..e434046ca9 100644
--- a/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/2_proposed_apparel_component_list.xml
+++ b/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/2_proposed_apparel_component_list.xml
@@ -90,7 +90,7 @@ apparel_component_module/view?validation_state=draft&local_roles:list=Assignor&r
                     </value>
                 </item>
                 <item>
-                    <key> <string>simulation_state</string> </key>
+                    <key> <string>validation_state</string> </key>
                     <value>
                       <tuple>
                         <string>proposed</string>
diff --git a/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/2_proposed_apparel_fabric_list.xml b/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/2_proposed_apparel_fabric_list.xml
index 9ae2d8ca82..fbf1e98b53 100644
--- a/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/2_proposed_apparel_fabric_list.xml
+++ b/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/2_proposed_apparel_fabric_list.xml
@@ -21,7 +21,7 @@
             <key> <string>actbox_url</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-apparel_fabric_module/view?validation_state=draft&local_roles:list=Assignor&reset=1
+apparel_fabric_module/view?validation_state=proposed&local_roles:list=Assignor&reset=1
 
 ]]></string> </value>
         </item>
@@ -90,7 +90,7 @@ apparel_fabric_module/view?validation_state=draft&local_roles:list=Assignor&rese
                     </value>
                 </item>
                 <item>
-                    <key> <string>simulation_state</string> </key>
+                    <key> <string>validation_state</string> </key>
                     <value>
                       <tuple>
                         <string>proposed</string>
diff --git a/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/3_approved_apparel_component_list.xml b/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/3_approved_apparel_component_list.xml
index 9c6639466c..aef5ba08be 100644
--- a/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/3_approved_apparel_component_list.xml
+++ b/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/3_approved_apparel_component_list.xml
@@ -21,7 +21,7 @@
             <key> <string>actbox_url</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-apparel_component_module/view?validation_state=draft&local_roles:list=Assignee&reset=1
+apparel_component_module/view?validation_state=approved&local_roles:list=Assignee&reset=1
 
 ]]></string> </value>
         </item>
@@ -90,7 +90,7 @@ apparel_component_module/view?validation_state=draft&local_roles:list=Assignee&r
                     </value>
                 </item>
                 <item>
-                    <key> <string>simulation_state</string> </key>
+                    <key> <string>validation_state</string> </key>
                     <value>
                       <tuple>
                         <string>approved</string>
diff --git a/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/3_approved_apparel_fabric_list.xml b/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/3_approved_apparel_fabric_list.xml
index 6f737201d8..7ef3326ef7 100644
--- a/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/3_approved_apparel_fabric_list.xml
+++ b/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/3_approved_apparel_fabric_list.xml
@@ -21,7 +21,7 @@
             <key> <string>actbox_url</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-apparel_fabric_module/view?validation_state=draft&local_roles:list=Assignee&reset=1
+apparel_fabric_module/view?validation_state=approved&local_roles:list=Assignee&reset=1
 
 ]]></string> </value>
         </item>
@@ -90,7 +90,7 @@ apparel_fabric_module/view?validation_state=draft&local_roles:list=Assignee&rese
                     </value>
                 </item>
                 <item>
-                    <key> <string>simulation_state</string> </key>
+                    <key> <string>validation_state</string> </key>
                     <value>
                       <tuple>
                         <string>approved</string>
diff --git a/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/4_sourcing_apparel_component_list.xml b/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/4_sourcing_apparel_component_list.xml
index 925fe64ade..75580dd390 100644
--- a/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/4_sourcing_apparel_component_list.xml
+++ b/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/4_sourcing_apparel_component_list.xml
@@ -21,7 +21,7 @@
             <key> <string>actbox_url</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-apparel_component_module/view?validation_state=draft&local_roles:list=Assignor&local_roles:list=Associate&reset=1
+apparel_component_module/view?validation_state=sourcing&local_roles:list=Assignor&local_roles:list=Associate&reset=1
 
 ]]></string> </value>
         </item>
@@ -91,7 +91,7 @@ apparel_component_module/view?validation_state=draft&local_roles:list=Assignor&l
                     </value>
                 </item>
                 <item>
-                    <key> <string>simulation_state</string> </key>
+                    <key> <string>validation_state</string> </key>
                     <value>
                       <tuple>
                         <string>sourcing</string>
diff --git a/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/4_sourcing_apparel_fabric_list.xml b/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/4_sourcing_apparel_fabric_list.xml
index 6c65a886cf..667d469d58 100644
--- a/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/4_sourcing_apparel_fabric_list.xml
+++ b/bt5/erp5_apparel/WorkflowTemplateItem/portal_workflow/apparel_component_workflow/worklists/4_sourcing_apparel_fabric_list.xml
@@ -21,7 +21,7 @@
             <key> <string>actbox_url</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-apparel_fabric_module/view?validation_state=draft&local_roles:list=Assignor&local_roles:list=Associate&reset=1
+apparel_fabric_module/view?validation_state=sourcing&local_roles:list=Assignor&local_roles:list=Associate&reset=1
 
 ]]></string> </value>
         </item>
@@ -91,7 +91,7 @@ apparel_fabric_module/view?validation_state=draft&local_roles:list=Assignor&loca
                     </value>
                 </item>
                 <item>
-                    <key> <string>simulation_state</string> </key>
+                    <key> <string>validation_state</string> </key>
                     <value>
                       <tuple>
                         <string>sourcing</string>
diff --git a/bt5/erp5_apparel/bt/revision b/bt5/erp5_apparel/bt/revision
index afbe847262..405e057083 100644
--- a/bt5/erp5_apparel/bt/revision
+++ b/bt5/erp5_apparel/bt/revision
@@ -1 +1 @@
-126
\ No newline at end of file
+127
\ No newline at end of file
-- 
2.30.9