From 75f83d5c7f41bed66898f78b66dfd530e3d962d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Wed, 18 Jun 2008 13:32:42 +0000
Subject: [PATCH] fix description on workflow fields

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21682 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../assignment_workflow/states/cancelled.xml     |  2 +-
 .../assignment_workflow/states/closed.xml        |  2 +-
 .../assignment_workflow/states/deleted.xml       |  2 +-
 .../assignment_workflow/states/draft.xml         |  2 +-
 .../assignment_workflow/states/open.xml          |  4 ++--
 .../assignment_workflow/transitions/cancel.xml   |  2 +-
 .../transitions/cancel_action.xml                |  2 +-
 .../transitions/close_action.xml                 |  2 +-
 .../transitions/open_action.xml                  |  2 +-
 .../transitions/update_action.xml                |  2 +-
 .../career_workflow/states/cancelled.xml         |  2 +-
 .../career_workflow/states/draft.xml             |  2 +-
 .../career_workflow/transitions/cancel.xml       |  2 +-
 .../transitions/cancel_action.xml                | 16 +++++-----------
 .../career_workflow/transitions/start_action.xml | 16 +++++-----------
 .../career_workflow/transitions/stop_action.xml  | 16 +++++-----------
 .../query_workflow/states/draft.xml              |  2 +-
 .../query_workflow/transitions/answer_action.xml |  2 +-
 .../query_workflow/transitions/cancel_action.xml |  2 +-
 .../query_workflow/transitions/delete_action.xml |  9 +++------
 .../query_workflow/transitions/post_action.xml   |  2 +-
 .../transitions/create_user_action.xml           |  2 +-
 bt5/erp5_base/bt/revision                        |  2 +-
 23 files changed, 38 insertions(+), 59 deletions(-)

diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/cancelled.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/cancelled.xml
index a2eb6969eb..0e15a91fe0 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/cancelled.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/cancelled.xml
@@ -17,7 +17,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>state of a query which has been cancelled</string> </value>
+            <value> <string>State of an assignment that has been cancelled</string> </value>
         </item>
         <item>
             <key> <string>id</string> </key>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/closed.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/closed.xml
index 225618f4dd..27b5ac8103 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/closed.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/closed.xml
@@ -17,7 +17,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>State of a career which has been closed</string> </value>
+            <value> <string>State of an assignment which is not valid anylonger</string> </value>
         </item>
         <item>
             <key> <string>id</string> </key>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/deleted.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/deleted.xml
index 30394214a2..4ca5eb023d 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/deleted.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/deleted.xml
@@ -23,7 +23,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>State of the query after being deleted</string> </value>
+            <value> <string>State of an assignment after being trashed</string> </value>
         </item>
         <item>
             <key> <string>id</string> </key>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/draft.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/draft.xml
index d0220c7948..5b2c1d5cf7 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/draft.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/draft.xml
@@ -17,7 +17,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>default state of a user account, no login and password has been defined</string> </value>
+            <value> <string>Default  state of an assignment just after it has been created</string> </value>
         </item>
         <item>
             <key> <string>id</string> </key>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/open.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/open.xml
index 0e1707eb99..7d9518db4f 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/open.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/states/open.xml
@@ -17,7 +17,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>Action that will open the Career</string> </value>
+            <value> <string>Action that will open the assignment</string> </value>
         </item>
         <item>
             <key> <string>id</string> </key>
@@ -31,7 +31,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string>Open</string> </value>
+            <value> <string>open</string> </value>
         </item>
         <item>
             <key> <string>transitions</string> </key>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/cancel.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/cancel.xml
index 5b730f5156..119f8d6b63 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/cancel.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/cancel.xml
@@ -33,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>Action called to cancel a query</string> </value>
+            <value> <string>transition that will cancel an assignment</string> </value>
         </item>
         <item>
             <key> <string>guard</string> </key>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/cancel_action.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/cancel_action.xml
index e60cc68123..a22f1fe4be 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/cancel_action.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/cancel_action.xml
@@ -33,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Action called to cancel an assignment</string> </value>
         </item>
         <item>
             <key> <string>guard</string> </key>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/close_action.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/close_action.xml
index bab502f587..a3bae552a6 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/close_action.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/close_action.xml
@@ -33,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Action done by the user that will close the assignment of a person</string> </value>
         </item>
         <item>
             <key> <string>guard</string> </key>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/open_action.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/open_action.xml
index 5744027fa7..bd1cf5eb0f 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/open_action.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/open_action.xml
@@ -33,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Action called by user that will open the assignment</string> </value>
         </item>
         <item>
             <key> <string>guard</string> </key>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/update_action.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/update_action.xml
index 4a629053c1..3567634fd7 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/update_action.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow/transitions/update_action.xml
@@ -33,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>With this action, the Manager or the Assignor can update the assignment data before reopening it.</string> </value>
+            <value> <string>With this action, the Manager of the Assignor can update the assignment data before reopening it.</string> </value>
         </item>
         <item>
             <key> <string>guard</string> </key>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/states/cancelled.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/states/cancelled.xml
index 3e51716fc5..4a3747aeb6 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/states/cancelled.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/states/cancelled.xml
@@ -17,7 +17,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>state of a query which has been cancelled</string> </value>
+            <value> <string>state of a career which has been cancelled</string> </value>
         </item>
         <item>
             <key> <string>id</string> </key>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/states/draft.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/states/draft.xml
index bba0fa5872..b08d5ad7c7 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/states/draft.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/states/draft.xml
@@ -17,7 +17,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>default state of a user account, no login and password has been defined</string> </value>
+            <value> <string>Default state of a career just after it has been created</string> </value>
         </item>
         <item>
             <key> <string>id</string> </key>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/cancel.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/cancel.xml
index 2dcf281ed3..6a2ba1fe12 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/cancel.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/cancel.xml
@@ -33,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>Action called to cancel a query</string> </value>
+            <value> <string>Transition that will cancel a career</string> </value>
         </item>
         <item>
             <key> <string>guard</string> </key>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/cancel_action.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/cancel_action.xml
index 3ba2ba03fc..748f1181f6 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/cancel_action.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/cancel_action.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.DCWorkflow.Transitions</string>
-          <string>TransitionDefinition</string>
-        </tuple>
-        <none/>
+        <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -36,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Action called to cancel a career step</string> </value>
         </item>
         <item>
             <key> <string>guard</string> </key>
@@ -70,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>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/start_action.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/start_action.xml
index 149ff70f98..2da0b5ee2f 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/start_action.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/start_action.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.DCWorkflow.Transitions</string>
-          <string>TransitionDefinition</string>
-        </tuple>
-        <none/>
+        <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -36,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Action that will marked the career steps of a person as started</string> </value>
         </item>
         <item>
             <key> <string>guard</string> </key>
@@ -70,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>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/stop_action.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/stop_action.xml
index 1e3c74426e..1da049f4b6 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/stop_action.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/stop_action.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.DCWorkflow.Transitions</string>
-          <string>TransitionDefinition</string>
-        </tuple>
-        <none/>
+        <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -36,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Action called by user that will marked the career steps of a person as stopped</string> </value>
         </item>
         <item>
             <key> <string>guard</string> </key>
@@ -70,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>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/states/draft.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/states/draft.xml
index ba961cf77b..70fcdc177f 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/states/draft.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/states/draft.xml
@@ -17,7 +17,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>default state of a user account, no login and password has been defined</string> </value>
+            <value> <string>Default  state of a query just after it has been created</string> </value>
         </item>
         <item>
             <key> <string>id</string> </key>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/transitions/answer_action.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/transitions/answer_action.xml
index 0051021f4d..3ff431d913 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/transitions/answer_action.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/transitions/answer_action.xml
@@ -33,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Action called by a user when marking a query answered</string> </value>
         </item>
         <item>
             <key> <string>guard</string> </key>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/transitions/cancel_action.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/transitions/cancel_action.xml
index 24ec4213da..a56f0a2190 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/transitions/cancel_action.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/transitions/cancel_action.xml
@@ -33,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Action called by user to cancel a query</string> </value>
         </item>
         <item>
             <key> <string>guard</string> </key>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/transitions/delete_action.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/transitions/delete_action.xml
index f7d1e82345..b1242b2571 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/transitions/delete_action.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/transitions/delete_action.xml
@@ -33,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value> <string>action that will mark the query as deleted</string> </value>
         </item>
         <item>
             <key> <string>guard</string> </key>
@@ -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>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/transitions/post_action.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/transitions/post_action.xml
index e12fb18af6..a1d1101f25 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/transitions/post_action.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/query_workflow/transitions/post_action.xml
@@ -33,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Action called by user when posting a query</string> </value>
         </item>
         <item>
             <key> <string>guard</string> </key>
diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/user_account_workflow/transitions/create_user_action.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/user_account_workflow/transitions/create_user_action.xml
index effa2a43c2..9d51b9528f 100644
--- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/user_account_workflow/transitions/create_user_action.xml
+++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/user_account_workflow/transitions/create_user_action.xml
@@ -33,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Action called on a person to create his login/password</string> </value>
         </item>
         <item>
             <key> <string>guard</string> </key>
diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision
index d61d31715d..4b74f2216d 100644
--- a/bt5/erp5_base/bt/revision
+++ b/bt5/erp5_base/bt/revision
@@ -1 +1 @@
-336
\ No newline at end of file
+338
\ No newline at end of file
-- 
2.30.9