Commit b2bc8994 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Disable Method Aliases for ERP5TypeInformation for now.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3567 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4de057c9
...@@ -106,6 +106,7 @@ class ERP5TypeInformation( FactoryTypeInformation, RoleProviderBase ): ...@@ -106,6 +106,7 @@ class ERP5TypeInformation( FactoryTypeInformation, RoleProviderBase ):
hidden_content_type_list = () hidden_content_type_list = ()
filter_actions = 0 filter_actions = 0
allowed_action_list = [] allowed_action_list = []
_aliases = {}
# #
# Acquisition editing interface # Acquisition editing interface
...@@ -113,6 +114,11 @@ class ERP5TypeInformation( FactoryTypeInformation, RoleProviderBase ): ...@@ -113,6 +114,11 @@ class ERP5TypeInformation( FactoryTypeInformation, RoleProviderBase ):
_actions_form = DTMLFile( 'editToolsActions', _dtmldir ) _actions_form = DTMLFile( 'editToolsActions', _dtmldir )
def __init__(self, id, **kw):
if not kw.has_key('aliases'):
kw['aliases'] = {}
FactoryTypeInformation.__init__(self, id, **kw)
security.declarePublic('hideFromAddMenu') security.declarePublic('hideFromAddMenu')
def hidenFromAddMenu(self): def hidenFromAddMenu(self):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment