From 1c9c7ff16ace9a9598616562d9bfcc5b6017ec59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Tue, 18 Dec 2012 14:23:48 +0100
Subject: [PATCH] Users are not supposed to add Acknowledgements directly

---
 .../hidden_content_type_list.xml                             | 5 +++++
 bt5/erp5_crm/bt/revision                                     | 2 +-
 .../bt/template_portal_type_hidden_content_type_list         | 1 +
 3 files changed, 7 insertions(+), 1 deletion(-)
 create mode 100644 bt5/erp5_crm/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
 create mode 100644 bt5/erp5_crm/bt/template_portal_type_hidden_content_type_list

diff --git a/bt5/erp5_crm/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml b/bt5/erp5_crm/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
new file mode 100644
index 0000000000..2bab38139c
--- /dev/null
+++ b/bt5/erp5_crm/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
@@ -0,0 +1,5 @@
+<hidden_content_type_list>
+ <portal_type id="Event Module">
+  <item>Acknowledgement</item>
+ </portal_type>
+</hidden_content_type_list>
\ No newline at end of file
diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision
index 73623d101c..1fb8d9e69e 100644
--- a/bt5/erp5_crm/bt/revision
+++ b/bt5/erp5_crm/bt/revision
@@ -1 +1 @@
-600
\ No newline at end of file
+601
\ No newline at end of file
diff --git a/bt5/erp5_crm/bt/template_portal_type_hidden_content_type_list b/bt5/erp5_crm/bt/template_portal_type_hidden_content_type_list
new file mode 100644
index 0000000000..e4f2996234
--- /dev/null
+++ b/bt5/erp5_crm/bt/template_portal_type_hidden_content_type_list
@@ -0,0 +1 @@
+Event Module | Acknowledgement
\ No newline at end of file
-- 
2.30.9