Commit 3e09bb5b authored by Romain Courteaud's avatar Romain Courteaud

Add comment


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21377 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fde5ad49
...@@ -404,6 +404,10 @@ class ERP5TypeInformation( FactoryTypeInformation, ...@@ -404,6 +404,10 @@ class ERP5TypeInformation( FactoryTypeInformation,
'getInstancePropertyAndBaseCategoryList') 'getInstancePropertyAndBaseCategoryList')
def getInstancePropertyAndBaseCategoryList(self): def getInstancePropertyAndBaseCategoryList(self):
"""Return all the properties and base categories of the portal type. """ """Return all the properties and base categories of the portal type. """
# XXX Does not return the list of all properties and categories
# currently (as implementation does not follow exactly the accessor
# generation, like for Expression evaluation). Should be probably better
# to get the list from property holder and not from property sheet
ptype_object = self ptype_object = self
# get the klass of the object based on the constructor document # get the klass of the object based on the constructor document
m = Products.ERP5Type._m m = Products.ERP5Type._m
......
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