diff --git a/product/ERP5/Document/Currency.py b/product/ERP5/Document/Currency.py index 71566d658cfa2fbeafa1ea8ffebe33e095983cf4..8cb1f6ce55fab5becaa5bdd31feb230c720bd718 100755 --- a/product/ERP5/Document/Currency.py +++ b/product/ERP5/Document/Currency.py @@ -59,48 +59,4 @@ class Currency(Resource): , PropertySheet.Price , PropertySheet.Resource , PropertySheet.Reference - , PropertySheet.Currency ) - - # Factory Type Information - factory_type_information = \ - { 'id' : portal_type - , 'meta_type' : meta_type - , 'description' : """\ -A Currency object holds the information about -a currency (ex. a currency name, an exchange rate).""" - , 'icon' : 'organisation_icon.gif' - , 'product' : 'ERP5' - , 'factory' : 'addCurrency' - , 'immediate_view' : 'currency_view' - , 'actions' : - ( { 'id' : 'view' - , 'name' : 'View' - , 'category' : 'object_view' - , 'action' : 'currency_view' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'print' - , 'name' : 'Print' - , 'category' : 'object_print' - , 'action' : 'object_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, ) - } - ) - }