From 214046719b40fccc6b86b4e4c4b6be05e165f4e9 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Thu, 1 Sep 2005 14:59:32 +0000 Subject: [PATCH] Remove factory type information. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3722 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/InvoiceCell.py | 55 ---------------------------- 1 file changed, 55 deletions(-) diff --git a/product/ERP5/Document/InvoiceCell.py b/product/ERP5/Document/InvoiceCell.py index 5afbd7e402..3b0b37dc27 100755 --- a/product/ERP5/Document/InvoiceCell.py +++ b/product/ERP5/Document/InvoiceCell.py @@ -41,7 +41,6 @@ class InvoiceCell(DeliveryCell): A DeliveryCell allows to define specific quantities for each variation of a resource in a delivery line. """ - meta_type = 'ERP5 Invoice Cell' portal_type = 'Invoice Cell' add_permission = Permissions.AddPortalContent @@ -72,60 +71,6 @@ class InvoiceCell(DeliveryCell): , PropertySheet.CopyrightTax ) - # Factory Type Information - factory_type_information = \ - { 'id' : portal_type - , 'meta_type' : meta_type - , 'description' : """\ -Une ligne tarifaire.""" - , 'icon' : 'invoice_line_icon.gif' - , 'product' : 'ERP5' - , 'factory' : 'addInvoiceCell' - , 'immediate_view' : 'invoice_cell_view' - , 'allow_discussion' : 1 - , 'allowed_content_types': ('', - ) - , 'filter_content_types' : 1 - , 'global_allow' : 1 - , 'actions' : - ( { 'id' : 'view' - , 'name' : 'View' - , 'category' : 'object_view' - , 'action' : 'invoice_cell_view' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'list' - , 'name' : 'Object Contents' - , 'category' : 'object_action' - , 'action' : 'folder_contents' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'print' - , 'name' : 'Print' - , 'category' : 'object_print' - , 'action' : 'invoice_cell_print' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'metadata' - , 'name' : 'Metadata' - , 'category' : 'object_view' - , 'action' : 'metadata_view' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'translate' - , 'name' : 'Translate' - , 'category' : 'object_action' - , 'action' : 'translation_template_view' - , 'permissions' : ( - Permissions.TranslateContent, ) - } - ) - } - security.declareProtected(Permissions.AccessContentsInformation, 'isAccountable') def isAccountable(self): """ -- 2.30.9