From 58c295f3a2135af00d476f306e393a88cfad6a9c Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Mon, 22 Oct 2007 10:34:45 +0000
Subject: [PATCH] Add hierarchical support of Sale Order Line.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17086 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../allowed_content_types.xml                                   | 1 +
 bt5/erp5_trade/bt/revision                                      | 2 +-
 .../bt/template_portal_type_allowed_content_type_list           | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_trade/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_trade/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
index b6af0af181..b06cb163d1 100644
--- a/bt5/erp5_trade/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
+++ b/bt5/erp5_trade/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
@@ -92,6 +92,7 @@
   <item>Payment Condition</item>
  </portal_type>
  <portal_type id="Sale Order Line">
+  <item>Sale Order Line</item>
   <item>Sale Order Cell</item>
  </portal_type>
  <portal_type id="Sale Order Module">
diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision
index fa59ff276d..50f0bcd375 100644
--- a/bt5/erp5_trade/bt/revision
+++ b/bt5/erp5_trade/bt/revision
@@ -1 +1 @@
-134
\ No newline at end of file
+135
\ No newline at end of file
diff --git a/bt5/erp5_trade/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_trade/bt/template_portal_type_allowed_content_type_list
index c0cf9d1c56..dbb756774d 100644
--- a/bt5/erp5_trade/bt/template_portal_type_allowed_content_type_list
+++ b/bt5/erp5_trade/bt/template_portal_type_allowed_content_type_list
@@ -36,6 +36,7 @@ Returned Sale Packing List | Returned Sale Packing List Line
 Rule Tool | Delivery Rule
 Rule Tool | Order Rule
 Sale Order Line | Sale Order Cell
+Sale Order Line | Sale Order Line
 Sale Order Module | Sale Order
 Sale Order | Discount
 Sale Order | Payment Condition
-- 
2.30.9