From 06bdf241df57d1a7062ff192fe8d10785589f823 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Wed, 15 Nov 2006 17:20:08 +0000
Subject: [PATCH] Production Order Rule is an ERP5 Type.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11337 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../Production%20Order%20Rule.xml             | 28 +++++++++++++++++--
 bt5/erp5_mrp/bt/revision                      |  2 +-
 2 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Order%20Rule.xml b/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Order%20Rule.xml
index 474e29b393..543011d72e 100644
--- a/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Order%20Rule.xml
+++ b/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Order%20Rule.xml
@@ -4,8 +4,8 @@
     <pickle>
       <tuple>
         <tuple>
-          <string>Products.CMFCore.TypesTool</string>
-          <string>FactoryTypeInformation</string>
+          <string>Products.ERP5Type.ERP5Type</string>
+          <string>ERP5TypeInformation</string>
         </tuple>
         <none/>
       </tuple>
@@ -45,12 +45,24 @@
               <none/>
             </value>
         </item>
+        <item>
+            <key> <string>_roles</string> </key>
+            <value>
+              <list/>
+            </value>
+        </item>
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
               <tuple/>
             </value>
         </item>
+        <item>
+            <key> <string>base_category_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>content_icon</string> </key>
             <value> <string>document.gif</string> </value>
@@ -70,6 +82,12 @@
             <key> <string>factory</string> </key>
             <value> <string>addProductionOrderRule</string> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Production Order Rule</string> </value>
@@ -82,6 +100,12 @@
             <key> <string>product</string> </key>
             <value> <string>ERP5Type</string> </value>
         </item>
+        <item>
+            <key> <string>property_sheet_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
diff --git a/bt5/erp5_mrp/bt/revision b/bt5/erp5_mrp/bt/revision
index 25bf17fc5a..2edeafb09d 100644
--- a/bt5/erp5_mrp/bt/revision
+++ b/bt5/erp5_mrp/bt/revision
@@ -1 +1 @@
-18
\ No newline at end of file
+20
\ No newline at end of file
-- 
2.30.9