From 3a7c47577aaad18c57ff0e6095fc9e46daaa7f58 Mon Sep 17 00:00:00 2001
From: Nicolas Dumazet <nicolas.dumazet@nexedi.com>
Date: Fri, 15 Oct 2010 03:04:47 +0000
Subject: [PATCH] 2010-10-15 nicolas.dumazet * No restrictions on subtypes of
 Order portal type

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39211 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Order.xml | 4 ++++
 bt5/erp5_trade/bt/change_log                                 | 3 +++
 bt5/erp5_trade/bt/revision                                   | 2 +-
 bt5/erp5_trade/bt/template_portal_type_id_list               | 1 +
 4 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Order.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Order.xml
index 8f82dfbcd6..76c120adc1 100644
--- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Order.xml
+++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Order.xml
@@ -20,6 +20,10 @@
             <key> <string>factory</string> </key>
             <value> <string>addOrder</string> </value>
         </item>
+        <item>
+            <key> <string>filter_content_types</string> </key>
+            <value> <int>0</int> </value>
+        </item>
         <item>
             <key> <string>group_list</string> </key>
             <value>
diff --git a/bt5/erp5_trade/bt/change_log b/bt5/erp5_trade/bt/change_log
index f623f4c8c2..220acfeddb 100644
--- a/bt5/erp5_trade/bt/change_log
+++ b/bt5/erp5_trade/bt/change_log
@@ -1,3 +1,6 @@
+2010-10-15 nicolas.dumazet
+* No restrictions on subtypes of Order portal type
+
 2010-09-30 nicolas.dumazet
 * Add abstract Order portal type to be able to create temporary documents of Order portal type.
 
diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision
index a88135ee83..40b9b19206 100644
--- a/bt5/erp5_trade/bt/revision
+++ b/bt5/erp5_trade/bt/revision
@@ -1 +1 @@
-988
\ No newline at end of file
+990
\ No newline at end of file
diff --git a/bt5/erp5_trade/bt/template_portal_type_id_list b/bt5/erp5_trade/bt/template_portal_type_id_list
index 1744acb304..db96f9326c 100644
--- a/bt5/erp5_trade/bt/template_portal_type_id_list
+++ b/bt5/erp5_trade/bt/template_portal_type_id_list
@@ -22,6 +22,7 @@ Inventory
 Inventory Cell
 Inventory Line
 Inventory Module
+Order
 Order Root Simulation Rule
 Order Rule
 Payment Condition
-- 
2.30.9