From c95ecfad1de5459921269038191e527254a324cf Mon Sep 17 00:00:00 2001
From: Kevin Deldycke <kevin@nexedi.com>
Date: Mon, 12 Jun 2006 11:55:31 +0000
Subject: [PATCH] Allow Closing Transaction Lines as Closing Transaction's
 sub-objects.

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

diff --git a/bt5/erp5_accounting/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_accounting/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
index 846af0cb4d..00db6f4e25 100644
--- a/bt5/erp5_accounting/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
+++ b/bt5/erp5_accounting/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
@@ -22,7 +22,7 @@
   <item>Agent</item>
  </portal_type>
  <portal_type id="Closing Transaction">
-  <item>Accounting Transaction Line</item>
+  <item>Closing Transaction Line</item>
  </portal_type>
  <portal_type id="Invoice Line">
   <item>Discount</item>
diff --git a/bt5/erp5_accounting/bt/template_action_path_list b/bt5/erp5_accounting/bt/template_action_path_list
index b2dbf12f8b..075101bff8 100644
--- a/bt5/erp5_accounting/bt/template_action_path_list
+++ b/bt5/erp5_accounting/bt/template_action_path_list
@@ -1,4 +1,3 @@
-
 Account Module | account_statement_report
 Account Module | bank_accounts_report
 Account Module | csv_export
diff --git a/bt5/erp5_accounting/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_accounting/bt/template_portal_type_allowed_content_type_list
index 5a4d36c509..c7a48fa9c0 100644
--- a/bt5/erp5_accounting/bt/template_portal_type_allowed_content_type_list
+++ b/bt5/erp5_accounting/bt/template_portal_type_allowed_content_type_list
@@ -8,7 +8,7 @@ Accounting Transaction Module | Sale Invoice Transaction
 Accounting Transaction | Accounting Transaction Line
 Balance Transaction | Balance Transaction Line
 Cash Register | Agent
-Closing Transaction | Accounting Transaction Line
+Closing Transaction | Closing Transaction Line
 Invoice Line | Discount
 Invoice Line | Invoice Cell
 Invoice Transaction Rule | Accounting Rule Cell
-- 
2.30.9