From 4ff3d9469957f3aa98b761eb609deeac57b5a30d Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Mon, 15 Mar 2010 09:45:05 +0000
Subject: [PATCH] reorder workflow chain by workflow ids.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33723 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../workflow_chain_type.xml                          |  6 +++---
 bt5/erp5_mrp/bt/revision                             |  2 +-
 .../bt/template_portal_type_workflow_chain_list      |  6 +++---
 .../workflow_chain_type.xml                          |  2 +-
 bt5/erp5_open_trade/bt/revision                      |  2 +-
 .../bt/template_portal_type_workflow_chain_list      |  2 +-
 .../workflow_chain_type.xml                          |  4 ++--
 bt5/erp5_project/bt/revision                         |  2 +-
 .../bt/template_portal_type_workflow_chain_list      |  4 ++--
 .../workflow_chain_type.xml                          | 12 ++++++------
 bt5/erp5_trade/bt/revision                           |  2 +-
 .../bt/template_portal_type_workflow_chain_list      | 12 ++++++------
 12 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/bt5/erp5_mrp/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_mrp/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
index 505f8220ad..b2ce04aab0 100644
--- a/bt5/erp5_mrp/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+++ b/bt5/erp5_mrp/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
@@ -1,15 +1,15 @@
 <workflow_chain>
  <chain>
   <type>Production Order</type>
-  <workflow>edit_workflow, delivery_simulation_interaction_workflow, production_order_workflow</workflow>
+  <workflow>delivery_simulation_interaction_workflow, edit_workflow, production_order_workflow</workflow>
  </chain>
  <chain>
   <type>Production Order Cell</type>
-  <workflow>edit_workflow, delivery_movement_simulation_interaction_workflow</workflow>
+  <workflow>delivery_movement_simulation_interaction_workflow, edit_workflow</workflow>
  </chain>
  <chain>
   <type>Production Order Line</type>
-  <workflow>edit_workflow, delivery_movement_simulation_interaction_workflow, production_matrix_workflow, transformation_interaction_workflow</workflow>
+  <workflow>delivery_movement_simulation_interaction_workflow, edit_workflow, production_matrix_workflow, transformation_interaction_workflow</workflow>
  </chain>
  <chain>
   <type>Production Order Model Root Simulation Rule</type>
diff --git a/bt5/erp5_mrp/bt/revision b/bt5/erp5_mrp/bt/revision
index a71e551f35..bc56e7649a 100644
--- a/bt5/erp5_mrp/bt/revision
+++ b/bt5/erp5_mrp/bt/revision
@@ -1 +1 @@
-430
\ No newline at end of file
+431
\ No newline at end of file
diff --git a/bt5/erp5_mrp/bt/template_portal_type_workflow_chain_list b/bt5/erp5_mrp/bt/template_portal_type_workflow_chain_list
index d1b7079664..4070ee8c4c 100644
--- a/bt5/erp5_mrp/bt/template_portal_type_workflow_chain_list
+++ b/bt5/erp5_mrp/bt/template_portal_type_workflow_chain_list
@@ -1,7 +1,7 @@
-Production Order Cell | edit_workflow
 Production Order Cell | delivery_movement_simulation_interaction_workflow
-Production Order Line | edit_workflow
+Production Order Cell | edit_workflow
 Production Order Line | delivery_movement_simulation_interaction_workflow
+Production Order Line | edit_workflow
 Production Order Line | production_matrix_workflow
 Production Order Line | transformation_interaction_workflow
 Production Order Model Root Simulation Rule | edit_workflow
@@ -12,8 +12,8 @@ Production Order Root Simulation Rule | edit_workflow
 Production Order Root Simulation Rule | rule_validation_workflow
 Production Order Rule | edit_workflow
 Production Order Rule | rule_validation_workflow
-Production Order | edit_workflow
 Production Order | delivery_simulation_interaction_workflow
+Production Order | edit_workflow
 Production Order | production_order_workflow
 Production Packing List Cell | delivery_movement_causality_interaction_workflow
 Production Packing List Cell | delivery_movement_simulation_interaction_workflow
diff --git a/bt5/erp5_open_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_open_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
index 26fd3e1519..eb5c696d6a 100644
--- a/bt5/erp5_open_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+++ b/bt5/erp5_open_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
@@ -9,6 +9,6 @@
  </chain>
  <chain>
   <type>Open Sale Order Line</type>
-  <workflow>trade_matrix_workflow, edit_workflow, pricing_interaction_workflow, delivery_movement_simulation_interaction_workflow</workflow>
+  <workflow>delivery_movement_simulation_interaction_workflow, edit_workflow, pricing_interaction_workflow, trade_matrix_workflow</workflow>
  </chain>
 </workflow_chain>
\ No newline at end of file
diff --git a/bt5/erp5_open_trade/bt/revision b/bt5/erp5_open_trade/bt/revision
index 3cacc0b93c..ca7bf83ac5 100644
--- a/bt5/erp5_open_trade/bt/revision
+++ b/bt5/erp5_open_trade/bt/revision
@@ -1 +1 @@
-12
\ No newline at end of file
+13
\ No newline at end of file
diff --git a/bt5/erp5_open_trade/bt/template_portal_type_workflow_chain_list b/bt5/erp5_open_trade/bt/template_portal_type_workflow_chain_list
index cbba8f99d7..01be5ace9f 100644
--- a/bt5/erp5_open_trade/bt/template_portal_type_workflow_chain_list
+++ b/bt5/erp5_open_trade/bt/template_portal_type_workflow_chain_list
@@ -1,6 +1,6 @@
 Open Order Rule | rule_validation_workflow
-Open Sale Order Line | edit_workflow
 Open Sale Order Line | delivery_movement_simulation_interaction_workflow
+Open Sale Order Line | edit_workflow
 Open Sale Order Line | pricing_interaction_workflow
 Open Sale Order Line | trade_matrix_workflow
 Open Sale Order | edit_workflow
diff --git a/bt5/erp5_project/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_project/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
index df0e1fa571..46fcbfb3ea 100644
--- a/bt5/erp5_project/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+++ b/bt5/erp5_project/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
@@ -17,11 +17,11 @@
  </chain>
  <chain>
   <type>Task</type>
-  <workflow>edit_workflow, delivery_simulation_interaction_workflow, task_workflow</workflow>
+  <workflow>delivery_simulation_interaction_workflow, edit_workflow, task_workflow</workflow>
  </chain>
  <chain>
   <type>Task Line</type>
-  <workflow>edit_workflow, delivery_movement_simulation_interaction_workflow</workflow>
+  <workflow>delivery_movement_simulation_interaction_workflow, edit_workflow</workflow>
  </chain>
  <chain>
   <type>Task Report</type>
diff --git a/bt5/erp5_project/bt/revision b/bt5/erp5_project/bt/revision
index ddc27b0c1a..f0a7147fa3 100644
--- a/bt5/erp5_project/bt/revision
+++ b/bt5/erp5_project/bt/revision
@@ -1 +1 @@
-739
\ No newline at end of file
+740
\ No newline at end of file
diff --git a/bt5/erp5_project/bt/template_portal_type_workflow_chain_list b/bt5/erp5_project/bt/template_portal_type_workflow_chain_list
index ac1e514b5a..1df32b870c 100644
--- a/bt5/erp5_project/bt/template_portal_type_workflow_chain_list
+++ b/bt5/erp5_project/bt/template_portal_type_workflow_chain_list
@@ -5,8 +5,8 @@ Requirement Document | edit_workflow
 Requirement Document | validation_workflow
 Requirement | edit_workflow
 Requirement | requirement_analysis_workflow
-Task Line | edit_workflow
 Task Line | delivery_movement_simulation_interaction_workflow
+Task Line | edit_workflow
 Task Report Line | delivery_movement_causality_interaction_workflow
 Task Report Line | delivery_movement_simulation_interaction_workflow
 Task Report Line | edit_workflow
@@ -15,6 +15,6 @@ Task Report | delivery_causality_workflow
 Task Report | delivery_simulation_interaction_workflow
 Task Report | edit_workflow
 Task Report | task_report_workflow
-Task | edit_workflow
 Task | delivery_simulation_interaction_workflow
+Task | edit_workflow
 Task | task_workflow
\ No newline at end of file
diff --git a/bt5/erp5_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
index 9c516613fe..3f3fdeaedb 100644
--- a/bt5/erp5_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+++ b/bt5/erp5_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
@@ -77,15 +77,15 @@
  </chain>
  <chain>
   <type>Purchase Order</type>
-  <workflow>edit_workflow, delivery_simulation_interaction_workflow, order_workflow</workflow>
+  <workflow>delivery_simulation_interaction_workflow, edit_workflow, order_workflow</workflow>
  </chain>
  <chain>
   <type>Purchase Order Cell</type>
-  <workflow>edit_workflow, delivery_movement_simulation_interaction_workflow, pricing_interaction_workflow</workflow>
+  <workflow>delivery_movement_simulation_interaction_workflow, edit_workflow, pricing_interaction_workflow</workflow>
  </chain>
  <chain>
   <type>Purchase Order Line</type>
-  <workflow>edit_workflow, movement_base_contribution_interaction_workflow, delivery_movement_simulation_interaction_workflow, pricing_interaction_workflow, trade_matrix_workflow</workflow>
+  <workflow>delivery_movement_simulation_interaction_workflow, edit_workflow, movement_base_contribution_interaction_workflow, pricing_interaction_workflow, trade_matrix_workflow</workflow>
  </chain>
  <chain>
   <type>Purchase Packing List</type>
@@ -117,15 +117,15 @@
  </chain>
  <chain>
   <type>Sale Order</type>
-  <workflow>edit_workflow, delivery_simulation_interaction_workflow, order_workflow</workflow>
+  <workflow>delivery_simulation_interaction_workflow, edit_workflow, order_workflow</workflow>
  </chain>
  <chain>
   <type>Sale Order Cell</type>
-  <workflow>edit_workflow, delivery_movement_simulation_interaction_workflow, pricing_interaction_workflow</workflow>
+  <workflow>delivery_movement_simulation_interaction_workflow, edit_workflow, pricing_interaction_workflow</workflow>
  </chain>
  <chain>
   <type>Sale Order Line</type>
-  <workflow>edit_workflow, movement_base_contribution_interaction_workflow, delivery_movement_simulation_interaction_workflow, pricing_interaction_workflow, trade_matrix_workflow</workflow>
+  <workflow>delivery_movement_simulation_interaction_workflow, edit_workflow, movement_base_contribution_interaction_workflow, pricing_interaction_workflow, trade_matrix_workflow</workflow>
  </chain>
  <chain>
   <type>Sale Packing List</type>
diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision
index bbff031a29..e39afc8dd2 100644
--- a/bt5/erp5_trade/bt/revision
+++ b/bt5/erp5_trade/bt/revision
@@ -1 +1 @@
-867
\ No newline at end of file
+868
\ No newline at end of file
diff --git a/bt5/erp5_trade/bt/template_portal_type_workflow_chain_list b/bt5/erp5_trade/bt/template_portal_type_workflow_chain_list
index bbd8418508..7121b86b96 100644
--- a/bt5/erp5_trade/bt/template_portal_type_workflow_chain_list
+++ b/bt5/erp5_trade/bt/template_portal_type_workflow_chain_list
@@ -44,16 +44,16 @@ Order Root Simulation Rule | rule_validation_workflow
 Order Rule | edit_workflow
 Order Rule | rule_validation_workflow
 Payment Condition | edit_workflow
-Purchase Order Cell | edit_workflow
 Purchase Order Cell | delivery_movement_simulation_interaction_workflow
+Purchase Order Cell | edit_workflow
 Purchase Order Cell | pricing_interaction_workflow
+Purchase Order Line | delivery_movement_simulation_interaction_workflow
 Purchase Order Line | edit_workflow
 Purchase Order Line | movement_base_contribution_interaction_workflow
-Purchase Order Line | delivery_movement_simulation_interaction_workflow
 Purchase Order Line | pricing_interaction_workflow
 Purchase Order Line | trade_matrix_workflow
-Purchase Order | edit_workflow
 Purchase Order | delivery_simulation_interaction_workflow
+Purchase Order | edit_workflow
 Purchase Order | order_workflow
 Purchase Packing List Cell | delivery_movement_causality_interaction_workflow
 Purchase Packing List Cell | delivery_movement_simulation_interaction_workflow
@@ -77,16 +77,16 @@ Returned Sale Packing List Line | trade_matrix_workflow
 Returned Sale Packing List | delivery_causality_workflow
 Returned Sale Packing List | edit_workflow
 Returned Sale Packing List | packing_list_workflow
-Sale Order Cell | edit_workflow
 Sale Order Cell | delivery_movement_simulation_interaction_workflow
+Sale Order Cell | edit_workflow
 Sale Order Cell | pricing_interaction_workflow
+Sale Order Line | delivery_movement_simulation_interaction_workflow
 Sale Order Line | edit_workflow
 Sale Order Line | movement_base_contribution_interaction_workflow
-Sale Order Line | delivery_movement_simulation_interaction_workflow
 Sale Order Line | pricing_interaction_workflow
 Sale Order Line | trade_matrix_workflow
-Sale Order | edit_workflow
 Sale Order | delivery_simulation_interaction_workflow
+Sale Order | edit_workflow
 Sale Order | order_workflow
 Sale Packing List Cell | container_interaction_workflow
 Sale Packing List Cell | delivery_movement_causality_interaction_workflow
-- 
2.30.9