From 7ba7d2823497966c8e7d6aafca294859b5a35679 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Wed, 17 Feb 2010 08:20:22 +0000
Subject: [PATCH] add causality related workflow to Payment Transaction.

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

diff --git a/bt5/erp5_accounting/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_accounting/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
index e69492361f..58c357c0a6 100644
--- a/bt5/erp5_accounting/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+++ b/bt5/erp5_accounting/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
@@ -33,7 +33,7 @@
  </chain>
  <chain>
   <type>Payment Transaction</type>
-  <workflow>accounting_workflow, edit_workflow</workflow>
+  <workflow>accounting_workflow, delivery_causality_interaction_workflow, delivery_causality_workflow, delivery_simulation_interaction_workflow, edit_workflow</workflow>
  </chain>
  <chain>
   <type>Purchase Invoice Transaction</type>
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index 6a333d3157..8770aa248b 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-1107
\ No newline at end of file
+1108
\ No newline at end of file
diff --git a/bt5/erp5_accounting/bt/template_portal_type_workflow_chain_list b/bt5/erp5_accounting/bt/template_portal_type_workflow_chain_list
index 748aaa0b3b..2039e67db9 100644
--- a/bt5/erp5_accounting/bt/template_portal_type_workflow_chain_list
+++ b/bt5/erp5_accounting/bt/template_portal_type_workflow_chain_list
@@ -16,6 +16,9 @@ Invoice Rule | rule_validation_workflow
 Payment Rule | edit_workflow
 Payment Rule | rule_validation_workflow
 Payment Transaction | accounting_workflow
+Payment Transaction | delivery_causality_interaction_workflow
+Payment Transaction | delivery_causality_workflow
+Payment Transaction | delivery_simulation_interaction_workflow
 Payment Transaction | edit_workflow
 Purchase Invoice Transaction Line | delivery_movement_causality_interaction_workflow
 Purchase Invoice Transaction Line | delivery_movement_simulation_interaction_workflow
-- 
2.30.9