From 14f69591c6bf143f5b2942ac411c2f284105c909 Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Tue, 7 Dec 2004 10:29:10 +0000 Subject: [PATCH] cleanup git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1956 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/BankAccount.py | 46 +--------------------------- 1 file changed, 1 insertion(+), 45 deletions(-) diff --git a/product/ERP5/Document/BankAccount.py b/product/ERP5/Document/BankAccount.py index 4323baa7f3..10b0ce6ca7 100755 --- a/product/ERP5/Document/BankAccount.py +++ b/product/ERP5/Document/BankAccount.py @@ -35,7 +35,7 @@ from Products.ERP5.Document.Coordinate import Coordinate import string -class BankAccount(Coordinate, Folder): +class BankAccount(Folder, Coordinate): """ A bank account number holds a collection of numbers and codes (ex. SWIFT, RIB, etc.) which may be used to @@ -67,50 +67,6 @@ class BankAccount(Coordinate, Folder): # Declarative interfaces __implements__ = ( Interface.Coordinate ) - # Factory Type Information - factory_type_information = \ - { 'id' : portal_type - , 'meta_type' : meta_type - , 'description' : """\ -A bank account number holds a collection of numbers -and codes (ex. SWIFT, RIB, etc.) which may be used to -identify a bank account.""" - , 'icon' : 'bank_account_icon.gif' - , 'product' : 'ERP5' - , 'factory' : 'addBankAccount' - , 'immediate_view' : 'bank_account_edit' - , 'actions' : - ( { 'id' : 'view' - , 'name' : 'View' - , 'category' : 'object_view' - , 'action' : 'bank_account_edit' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'print' - , 'name' : 'Print' - , 'category' : 'object_print' - , 'action' : 'bank_account_print' - , '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, ) - } - ) - } - security.declareProtected(Permissions.View, 'asText') def asText(self): """ -- 2.30.9