From 3d10c7016c96d9e906d74c5e09f91e78298d731e Mon Sep 17 00:00:00 2001
From: Nicolas Dumazet <nicolas.dumazet@nexedi.com>
Date: Thu, 3 Feb 2011 23:41:44 +0000
Subject: [PATCH] Add Solver Tool portal type since portal_solvers is included
 in this bt

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43005 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../allowed_content_types.xml                 |  3 +++
 .../portal_types/Solver%20Tool.xml            | 24 +++++++++++++++++++
 bt5/erp5_base/bt/revision                     |  2 +-
 ...late_portal_type_allowed_content_type_list |  3 ++-
 bt5/erp5_base/bt/template_portal_type_id_list |  1 +
 5 files changed, 31 insertions(+), 2 deletions(-)
 create mode 100644 bt5/erp5_base/PortalTypeTemplateItem/portal_types/Solver%20Tool.xml

diff --git a/bt5/erp5_base/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_base/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
index fe2d130e1c..1570e00baa 100644
--- a/bt5/erp5_base/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
+++ b/bt5/erp5_base/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
@@ -120,4 +120,7 @@
  <portal_type id="Rounding Tool">
   <item>Rounding Model</item>
  </portal_type>
+ <portal_type id="Solver Tool">
+  <item>Solver Type</item>
+ </portal_type>
 </allowed_content_type_list>
\ No newline at end of file
diff --git a/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Solver%20Tool.xml b/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Solver%20Tool.xml
new file mode 100644
index 0000000000..010bc858f7
--- /dev/null
+++ b/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Solver%20Tool.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Base Type" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>Solver Tool</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Base Type</string> </value>
+        </item>
+        <item>
+            <key> <string>type_class</string> </key>
+            <value> <string>SolverTool</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision
index dcdf7f59d9..c353035442 100644
--- a/bt5/erp5_base/bt/revision
+++ b/bt5/erp5_base/bt/revision
@@ -1 +1 @@
-942
\ No newline at end of file
+943
\ No newline at end of file
diff --git a/bt5/erp5_base/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_base/bt/template_portal_type_allowed_content_type_list
index e950883f0e..2b9d2f3d8f 100644
--- a/bt5/erp5_base/bt/template_portal_type_allowed_content_type_list
+++ b/bt5/erp5_base/bt/template_portal_type_allowed_content_type_list
@@ -82,4 +82,5 @@ Person | Fax
 Person | Link
 Person | Telephone
 Query Module | Query
-Rounding Tool | Rounding Model
\ No newline at end of file
+Rounding Tool | Rounding Model
+Solver Tool | Solver Type
\ No newline at end of file
diff --git a/bt5/erp5_base/bt/template_portal_type_id_list b/bt5/erp5_base/bt/template_portal_type_id_list
index 0dcfa6aa45..45897c6d8c 100644
--- a/bt5/erp5_base/bt/template_portal_type_id_list
+++ b/bt5/erp5_base/bt/template_portal_type_id_list
@@ -54,6 +54,7 @@ Role Definition
 Root Applied Rule Causality Movement Group
 Rounding Model
 Rounding Tool
+Solver Tool
 Split Movement Group
 Tax Line Delivery Movement Group
 Telephone
-- 
2.30.9