From c6a358a817416aef6a66c51b8a483273dbd34c27 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Mon, 22 Feb 2010 11:23:59 +0000
Subject: [PATCH] allow Acocunting Rule Cell and Predicate in Payment
 Simulation Rule.

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

diff --git a/bt5/erp5_accounting/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_accounting/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
index f265597878..a64af9e0c6 100644
--- a/bt5/erp5_accounting/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
+++ b/bt5/erp5_accounting/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
@@ -49,7 +49,9 @@
   <item>Quantity Divergence Tester</item>
  </portal_type>
  <portal_type id="Payment Simulation Rule">
+  <item>Accounting Rule Cell</item>
   <item>Category Divergence Tester</item>
+  <item>Predicate</item>
   <item>Property Divergence Tester</item>
   <item>Quantity Divergence Tester</item>
  </portal_type>
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index e9fa9e7a97..03a524df89 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-1114
\ No newline at end of file
+1115
\ No newline at end of file
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 96b761de4c..aa33b8359b 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
@@ -25,7 +25,9 @@ Organisation | Cash Register
 Payment Rule | Category Divergence Tester
 Payment Rule | Property Divergence Tester
 Payment Rule | Quantity Divergence Tester
+Payment Simulation Rule | Accounting Rule Cell
 Payment Simulation Rule | Category Divergence Tester
+Payment Simulation Rule | Predicate
 Payment Simulation Rule | Property Divergence Tester
 Payment Simulation Rule | Quantity Divergence Tester
 Payment Transaction | Accounting Transaction Line
-- 
2.30.9