From 10dab3a6362b633be1af51b39f9a8c8ad8e14ef8 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Tue, 11 Jan 2011 17:26:46 +0000
Subject: [PATCH] Use commerce_validation_workflow on Software Product to allow
 anonymous access on Software Product

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42229 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../workflow_chain_type.xml                                 | 6 ++++++
 bt5/vifib_web/bt/dependency_list                            | 3 ++-
 bt5/vifib_web/bt/revision                                   | 2 +-
 bt5/vifib_web/bt/template_portal_type_workflow_chain_list   | 2 ++
 4 files changed, 11 insertions(+), 2 deletions(-)
 create mode 100644 bt5/vifib_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
 create mode 100644 bt5/vifib_web/bt/template_portal_type_workflow_chain_list

diff --git a/bt5/vifib_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/vifib_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
new file mode 100644
index 0000000000..2615e5a858
--- /dev/null
+++ b/bt5/vifib_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
@@ -0,0 +1,6 @@
+<workflow_chain>
+ <chain>
+  <type>Software Product</type>
+  <workflow>-validation_workflow, commerce_validation_workflow</workflow>
+ </chain>
+</workflow_chain>
\ No newline at end of file
diff --git a/bt5/vifib_web/bt/dependency_list b/bt5/vifib_web/bt/dependency_list
index 25fb70c0f8..b06c14d655 100644
--- a/bt5/vifib_web/bt/dependency_list
+++ b/bt5/vifib_web/bt/dependency_list
@@ -2,4 +2,5 @@ erp5_web
 erp5_dms
 vifib_crm
 erp5_jquery
-erp5_km
\ No newline at end of file
+erp5_km
+erp5_commerce
\ No newline at end of file
diff --git a/bt5/vifib_web/bt/revision b/bt5/vifib_web/bt/revision
index 58e77f3515..cc4f7f3feb 100644
--- a/bt5/vifib_web/bt/revision
+++ b/bt5/vifib_web/bt/revision
@@ -1 +1 @@
-215
\ No newline at end of file
+218
\ No newline at end of file
diff --git a/bt5/vifib_web/bt/template_portal_type_workflow_chain_list b/bt5/vifib_web/bt/template_portal_type_workflow_chain_list
new file mode 100644
index 0000000000..96b63124f9
--- /dev/null
+++ b/bt5/vifib_web/bt/template_portal_type_workflow_chain_list
@@ -0,0 +1,2 @@
+Software Product | -validation_workflow
+Software Product | commerce_validation_workflow
\ No newline at end of file
-- 
2.30.9