From fdd1906ece674f2374e7162b9f46e620c283859f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Wed, 9 Nov 2011 13:07:00 +0100
Subject: [PATCH] Customers need to confirm their payment transactions.

---
 .../PortalTypeRolesTemplateItem/Payment%20Transaction.xml  | 7 +++++++
 master/bt5/vifib_erp5/bt/revision                          | 2 +-
 master/bt5/vifib_erp5/bt/template_portal_type_role_list    | 1 +
 master/bt5/vifib_erp5/bt/template_portal_type_roles_list   | 3 ++-
 4 files changed, 11 insertions(+), 2 deletions(-)
 create mode 100644 master/bt5/vifib_erp5/PortalTypeRolesTemplateItem/Payment%20Transaction.xml

diff --git a/master/bt5/vifib_erp5/PortalTypeRolesTemplateItem/Payment%20Transaction.xml b/master/bt5/vifib_erp5/PortalTypeRolesTemplateItem/Payment%20Transaction.xml
new file mode 100644
index 000000000..497608aba
--- /dev/null
+++ b/master/bt5/vifib_erp5/PortalTypeRolesTemplateItem/Payment%20Transaction.xml
@@ -0,0 +1,7 @@
+<type_roles>
+  <role id='Associate'>
+   <property id='title'>Destination Section is Associate</property>
+   <property id='base_category_script'>ERP5Type_getSecurityCategoryFromContent</property>
+   <multi_property id='base_category'>destination_section</multi_property>
+  </role>
+</type_roles>
\ No newline at end of file
diff --git a/master/bt5/vifib_erp5/bt/revision b/master/bt5/vifib_erp5/bt/revision
index 65de5029b..3d9983ada 100644
--- a/master/bt5/vifib_erp5/bt/revision
+++ b/master/bt5/vifib_erp5/bt/revision
@@ -1 +1 @@
-294
\ No newline at end of file
+295
\ No newline at end of file
diff --git a/master/bt5/vifib_erp5/bt/template_portal_type_role_list b/master/bt5/vifib_erp5/bt/template_portal_type_role_list
index a8cdbb6c6..8cde171a6 100644
--- a/master/bt5/vifib_erp5/bt/template_portal_type_role_list
+++ b/master/bt5/vifib_erp5/bt/template_portal_type_role_list
@@ -29,6 +29,7 @@ Open Sale Order
 Open Sale Order Module
 Organisation
 Organisation Module
+Payment Transaction
 Payzen Event
 Person
 Person Module
diff --git a/master/bt5/vifib_erp5/bt/template_portal_type_roles_list b/master/bt5/vifib_erp5/bt/template_portal_type_roles_list
index f7dbb7fa3..03b2608f5 100644
--- a/master/bt5/vifib_erp5/bt/template_portal_type_roles_list
+++ b/master/bt5/vifib_erp5/bt/template_portal_type_roles_list
@@ -29,6 +29,7 @@ Open Sale Order
 Open Sale Order Module
 Organisation
 Organisation Module
+Payzen Event
 Person
 Person Module
 Phone Call
@@ -56,4 +57,4 @@ Support Request Module
 System Event Module
 Visit
 Web Message
-Payzen Event
\ No newline at end of file
+Payment Transaction
\ No newline at end of file
-- 
2.30.9