From 323270c2150f5ca841302ea632affe675140c3cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Thu, 12 Aug 2010 14:41:48 +0000
Subject: [PATCH]  - reindex children of Internal, Purchase, Sale and "generic"
 Supply Line

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37776 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../workflow_chain_type.xml                               | 8 ++++----
 bt5/erp5_pdm/bt/revision                                  | 2 +-
 bt5/erp5_pdm/bt/template_portal_type_workflow_chain_list  | 4 ++++
 3 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/bt5/erp5_pdm/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_pdm/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
index 8856d5b9cd..ae933c04bc 100644
--- a/bt5/erp5_pdm/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+++ b/bt5/erp5_pdm/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
@@ -9,7 +9,7 @@
  </chain>
  <chain>
   <type>Internal Supply Line</type>
-  <workflow>edit_workflow, supply_line_interaction_workflow</workflow>
+  <workflow>edit_workflow, reindex_object_interaction_workflow, supply_line_interaction_workflow</workflow>
  </chain>
  <chain>
   <type>Measure</type>
@@ -25,7 +25,7 @@
  </chain>
  <chain>
   <type>Purchase Supply Line</type>
-  <workflow>edit_workflow, supply_line_interaction_workflow</workflow>
+  <workflow>edit_workflow, reindex_object_interaction_workflow, supply_line_interaction_workflow</workflow>
  </chain>
  <chain>
   <type>Quantity Unit Conversion Definition</type>
@@ -41,7 +41,7 @@
  </chain>
  <chain>
   <type>Sale Supply Line</type>
-  <workflow>edit_workflow, supply_line_interaction_workflow</workflow>
+  <workflow>edit_workflow, reindex_object_interaction_workflow, supply_line_interaction_workflow</workflow>
  </chain>
  <chain>
   <type>Service</type>
@@ -49,7 +49,7 @@
  </chain>
  <chain>
   <type>Supply Line</type>
-  <workflow>edit_workflow, supply_line_interaction_workflow</workflow>
+  <workflow>edit_workflow, reindex_object_interaction_workflow, supply_line_interaction_workflow</workflow>
  </chain>
  <chain>
   <type>Transformation</type>
diff --git a/bt5/erp5_pdm/bt/revision b/bt5/erp5_pdm/bt/revision
index 88bc40f5cc..54a584dece 100644
--- a/bt5/erp5_pdm/bt/revision
+++ b/bt5/erp5_pdm/bt/revision
@@ -1 +1 @@
-513
\ No newline at end of file
+514
\ No newline at end of file
diff --git a/bt5/erp5_pdm/bt/template_portal_type_workflow_chain_list b/bt5/erp5_pdm/bt/template_portal_type_workflow_chain_list
index ddb47bf415..79d2d8fe0d 100644
--- a/bt5/erp5_pdm/bt/template_portal_type_workflow_chain_list
+++ b/bt5/erp5_pdm/bt/template_portal_type_workflow_chain_list
@@ -1,6 +1,7 @@
 Component | edit_workflow
 Component | validation_workflow
 Internal Supply Line | edit_workflow
+Internal Supply Line | reindex_object_interaction_workflow
 Internal Supply Line | supply_line_interaction_workflow
 Internal Supply | edit_workflow
 Internal Supply | validation_workflow
@@ -9,6 +10,7 @@ Measure | edit_workflow
 Product | edit_workflow
 Product | validation_workflow
 Purchase Supply Line | edit_workflow
+Purchase Supply Line | reindex_object_interaction_workflow
 Purchase Supply Line | supply_line_interaction_workflow
 Purchase Supply | edit_workflow
 Purchase Supply | validation_workflow
@@ -19,12 +21,14 @@ Quantity Unit Conversion Group | conversion_interaction_workflow
 Quantity Unit Conversion Group | edit_workflow
 Quantity Unit Conversion Group | validation_workflow
 Sale Supply Line | edit_workflow
+Sale Supply Line | reindex_object_interaction_workflow
 Sale Supply Line | supply_line_interaction_workflow
 Sale Supply | edit_workflow
 Sale Supply | validation_workflow
 Service | edit_workflow
 Service | validation_workflow
 Supply Line | edit_workflow
+Supply Line | reindex_object_interaction_workflow
 Supply Line | supply_line_interaction_workflow
 Transformation Operation Cell | conversion_interaction_workflow
 Transformation Operation | conversion_interaction_workflow
-- 
2.30.9