From aca5985a2ed1f957ee4b041a2b45c057ec6f08fd Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Wed, 12 Oct 2005 15:06:50 +0000
Subject: [PATCH] removed factory type information

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4004 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/Item.py | 44 -----------------------------------
 1 file changed, 44 deletions(-)

diff --git a/product/ERP5/Document/Item.py b/product/ERP5/Document/Item.py
index 54a7b60dfe..53d166655a 100755
--- a/product/ERP5/Document/Item.py
+++ b/product/ERP5/Document/Item.py
@@ -78,48 +78,6 @@ class Item(XMLObject, Amount):
                       , PropertySheet.Amortisation
                       )
 
-    # Factory Type Information
-    factory_type_information = \
-      {    'id'             : portal_type
-         , 'meta_type'      : meta_type
-         , 'description'    : """\
-Items in ERP5 are intended to provide a way to track objects."""
-         , 'icon'           : 'item_icon.gif'
-         , 'product'        : 'ERP5'
-         , 'factory'        : 'addItem'
-         , 'immediate_view' : 'item_edit'
-         , 'actions'        :
-        ( { 'id'            : 'view'
-          , 'name'          : 'View'
-          , 'category'      : 'object_view'
-          , 'action'        : 'item_edit'
-          , 'permissions'   : (
-              Permissions.View, )
-          }
-        , { 'id'            : 'print'
-          , 'name'          : 'Print'
-          , 'category'      : 'object_print'
-          , 'action'        : 'item_print'
-          , 'permissions'   : (
-              Permissions.View, )
-          }
-        , { 'id'            : 'metadata'
-          , 'name'          : 'Metadata'
-          , 'category'      : 'object_edit'
-          , 'action'        : 'metadata_edit'
-          , 'permissions'   : (
-              Permissions.View, )
-          }
-        , { 'id'            : 'translate'
-          , 'name'          : 'Translate'
-          , 'category'      : 'object_action'
-          , 'action'        : 'translation_template_view'
-          , 'permissions'   : (
-              Permissions.TranslateContent, )
-          }
-        )
-      }
-
     security.declareProtected(Permissions.ModifyPortalContent,'generateNewId')
     def generateNewId(self, id_group='item_id_group', default=None, method=None):
       """
@@ -127,8 +85,6 @@ Items in ERP5 are intended to provide a way to track objects."""
       """
       return XMLObject.generateNewId(self, id_group=id_group, default=default, method=method)
 
-
-
     ### Amortisation
 
     # _update_data and _get_data are used to implement a semi-cache system on
-- 
2.30.9