From 9a6c4f50e7e95dddcaacff4d76be80bea9aec00f Mon Sep 17 00:00:00 2001
From: Yusei Tahara <yusei@nexedi.com>
Date: Tue, 17 Feb 2009 02:30:04 +0000
Subject: [PATCH] 2009-02-17 yusei * Hide "Add Invoice Line" from the drop down
 action menu until invoice support to collect multiple different orders.

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

diff --git a/bt5/erp5_invoicing/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml b/bt5/erp5_invoicing/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
index 1c3fbb7ea7..71ff238d51 100644
--- a/bt5/erp5_invoicing/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
+++ b/bt5/erp5_invoicing/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
@@ -1,6 +1,7 @@
 <hidden_content_type_list>
  <portal_type id="Invoice Line">
   <item>Invoice Cell</item>
+  <item>Invoice Line</item>
  </portal_type>
  <portal_type id="Invoice Transaction Rule">
   <item>Accounting Rule Cell</item>
diff --git a/bt5/erp5_invoicing/bt/change_log b/bt5/erp5_invoicing/bt/change_log
index b7980328a0..695a4db1c1 100644
--- a/bt5/erp5_invoicing/bt/change_log
+++ b/bt5/erp5_invoicing/bt/change_log
@@ -1,3 +1,6 @@
+2009-02-17 yusei
+* Hide "Add Invoice Line" from the drop down action menu until invoice support to collect multiple different orders.
+
 2009-02-16 jerome
 * copy source_account and destination_account from supply line on delivery lines, and enable this for divergence on invoice lines.
 
diff --git a/bt5/erp5_invoicing/bt/revision b/bt5/erp5_invoicing/bt/revision
index 02cfe0b571..aebfaa171d 100644
--- a/bt5/erp5_invoicing/bt/revision
+++ b/bt5/erp5_invoicing/bt/revision
@@ -1 +1 @@
-213
\ No newline at end of file
+214
\ No newline at end of file
diff --git a/bt5/erp5_invoicing/bt/template_portal_type_hidden_content_type_list b/bt5/erp5_invoicing/bt/template_portal_type_hidden_content_type_list
index 6170a6b181..0e0eae69ba 100644
--- a/bt5/erp5_invoicing/bt/template_portal_type_hidden_content_type_list
+++ b/bt5/erp5_invoicing/bt/template_portal_type_hidden_content_type_list
@@ -1,4 +1,5 @@
 Invoice Line | Invoice Cell
+Invoice Line | Invoice Line
 Invoice Transaction Rule | Accounting Rule Cell
 Purchase Invoice Transaction | Discount Line
 Purchase Invoice Transaction | Tax Line
-- 
2.30.9