From 4c46bab50b141187462a90c07e16fc0911bd5bbe Mon Sep 17 00:00:00 2001
From: Yusei Tahara <yusei@nexedi.com>
Date: Thu, 12 Feb 2009 05:13:15 +0000
Subject: [PATCH] 2009-02-12 yusei * Invoice Line can now contain Invoice Line.
 This is useful if we want to make a invoice which collect all orders from
 divisions in one company and list up invoice line per each division.

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

diff --git a/bt5/erp5_invoicing/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_invoicing/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
index 429e90d6e8..fc767e01dc 100644
--- a/bt5/erp5_invoicing/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
+++ b/bt5/erp5_invoicing/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
@@ -1,5 +1,6 @@
 <allowed_content_type_list>
  <portal_type id="Invoice Line">
+  <item>Invoice Line</item>
   <item>Invoice Cell</item>
  </portal_type>
  <portal_type id="Invoice Transaction Rule">
diff --git a/bt5/erp5_invoicing/bt/change_log b/bt5/erp5_invoicing/bt/change_log
index 7394e9b525..61d6621b30 100644
--- a/bt5/erp5_invoicing/bt/change_log
+++ b/bt5/erp5_invoicing/bt/change_log
@@ -1,3 +1,6 @@
+2009-02-12 yusei
+* Invoice Line can now contain Invoice Line. This is useful if we want to make a invoice which collect all orders from divisions in one company and list up invoice line per each division.
+
 2009-02-03 yo
 * Editable fields must use "cell" instead of "here" in the tales expressions, so they may not use proxy fields created for my_* intact. Due to this error, total_price and total_quantity could be wrongly displayed.
 
diff --git a/bt5/erp5_invoicing/bt/revision b/bt5/erp5_invoicing/bt/revision
index ae4ee13c08..252b382b33 100644
--- a/bt5/erp5_invoicing/bt/revision
+++ b/bt5/erp5_invoicing/bt/revision
@@ -1 +1 @@
-200
\ No newline at end of file
+202
\ No newline at end of file
diff --git a/bt5/erp5_invoicing/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_invoicing/bt/template_portal_type_allowed_content_type_list
index 5d871d431e..b9e4b09ef0 100644
--- a/bt5/erp5_invoicing/bt/template_portal_type_allowed_content_type_list
+++ b/bt5/erp5_invoicing/bt/template_portal_type_allowed_content_type_list
@@ -1,4 +1,5 @@
 Invoice Line | Invoice Cell
+Invoice Line | Invoice Line
 Invoice Transaction Rule | Accounting Rule Cell
 Invoice Transaction Rule | Category Divergence Tester
 Invoice Transaction Rule | Predicate
-- 
2.30.9