Commit f148808a authored by Nicolas Dumazet's avatar Nicolas Dumazet

getTypeFactoryMethodId is also required to load initially Base Types / Solvers


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42915 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3434deef
......@@ -435,6 +435,11 @@ class ERP5TypeInformation(XMLObject,
def _baseGetTypeClass(self):
return getattr(aq_base(self), 'type_class', None)
security.declareProtected(Permissions.AccessContentsInformation,
'getTypeFactoryMethodId')
def getTypeFactoryMethodId(self):
return getattr(aq_base(self), 'factory', ())
security.declareProtected(Permissions.AccessContentsInformation,
'getTypeMixinList')
def getTypeMixinList(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