[Erp5-report] r11164 - in /erp5/trunk/products/ERP5/Document: MetaResource.py PaySheetLine.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Nov 7 15:01:28 CET 2006


Author: seb
Date: Tue Nov  7 15:01:22 2006
New Revision: 11164

URL: http://svn.erp5.org?rev=11164&view=rev
Log:
remove factory type information

Modified:
    erp5/trunk/products/ERP5/Document/MetaResource.py
    erp5/trunk/products/ERP5/Document/PaySheetLine.py

Modified: erp5/trunk/products/ERP5/Document/MetaResource.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/MetaResource.py?rev=11164&r1=11163&r2=11164&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/MetaResource.py (original)
+++ erp5/trunk/products/ERP5/Document/MetaResource.py Tue Nov  7 15:01:22 2006
@@ -56,48 +56,3 @@
                       , PropertySheet.Resource
                       )
 
-    # Factory Type Information
-    factory_type_information = \
-      {    'id'             : portal_type
-         , 'meta_type'      : meta_type
-         , 'description'    : """\
-An Organisation object holds the information about
-an organisation (ex. a division in a company, a company,
-a service in a public administration)."""
-         , 'icon'           : 'organisation_icon.gif'
-         , 'product'        : 'ERP5'
-         , 'factory'        : 'addOrganisation'
-         , 'immediate_view' : 'organisation_edit'
-         , 'actions'        :
-        ( { 'id'            : 'view'
-          , 'name'          : 'View'
-          , 'category'      : 'object_view'
-          , 'action'        : 'organisation_edit'
-          , 'permissions'   : (
-              Permissions.View, )
-          }
-        , { 'id'            : 'print'
-          , 'name'          : 'Print'
-          , 'category'      : 'object_print'
-          , 'action'        : 'organisation_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, )
-          }
-        )
-      }
-
-

Modified: erp5/trunk/products/ERP5/Document/PaySheetLine.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/PaySheetLine.py?rev=11164&r1=11163&r2=11164&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/PaySheetLine.py (original)
+++ erp5/trunk/products/ERP5/Document/PaySheetLine.py Tue Nov  7 15:01:22 2006
@@ -72,59 +72,6 @@
                       , PropertySheet.CopyrightTax
                       )
 
-    # Factory Type Information
-    factory_type_information = \
-      {    'id'             : portal_type
-         , 'meta_type'      : meta_type
-         , 'description'    : """\
-"""
-         , 'icon'           : 'order_line_icon.gif'
-         , 'product'        : 'ERP5'
-         , 'factory'        : 'addPaySheetLine'
-         , 'immediate_view' : 'PaySheetLine_view'
-         , 'allow_discussion'     : 1
-         , 'allowed_content_types': ('Pay Sheet Cell',
-                                      )
-         , 'filter_content_types' : 1
-         , 'global_allow'   : 1
-         , 'actions'        :
-        ( { 'id'            : 'view'
-          , 'name'          : 'View'
-          , 'category'      : 'object_view'
-          , 'action'        : 'PaySheetLine_view'
-          , 'permissions'   : (
-              Permissions.View, )
-          }
-        , { 'id'            : 'list'
-          , 'name'          : 'Object Contents'
-          , 'category'      : 'object_action'
-          , 'action'        : 'folder_contents'
-          , 'permissions'   : (
-              Permissions.View, )
-          }
-        , { 'id'            : 'quantity'
-          , 'name'          : 'Quantity'
-          , 'category'      : 'object_view'
-          , 'action'        : 'PaySheetLine_quantityView'
-          , 'permissions'   : (
-              Permissions.View, )
-          }
-        , { 'id'            : 'metadata'
-          , 'name'          : 'Metadata'
-          , 'category'      : 'object_view'
-          , 'action'        : 'metadata_edit'
-          , 'permissions'   : (
-              Permissions.View, )
-          }
-        , { 'id'            : 'translate'
-          , 'name'          : 'Translate'
-          , 'category'      : 'object_action'
-          , 'action'        : 'translation_template_view'
-          , 'permissions'   : (
-              Permissions.TranslateContent, )
-          }
-        )
-      }
 
     # Cell Related
     security.declareProtected( Permissions.ModifyPortalContent, 'newCellContent' )




More information about the Erp5-report mailing list