Commit 8e150360 authored by Christophe Dumez's avatar Christophe Dumez

- Fixed a bug in getPropertiesAndCategories() function


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9101 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 440f365b
......@@ -270,7 +270,8 @@ class ERP5TypeInformation( FactoryTypeInformation, RoleProviderBase, Translation
from Products.ERP5Type.Base import getClassPropertyList
ps_list = tuple(ps_list) + getClassPropertyList(klass)
# get all properties from the property sheet list
current_list = cat_list
current_list = []
current_list += cat_list
for base in ps_list:
ps_property = getattr(base, '_properties', None)
if type(ps_property) in (type(()), type([])):
......
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