Commit 6703954d authored by Nicolas Dumazet's avatar Nicolas Dumazet

my mistake, getPortalGroupedTypeSet calls getPortalGroupedTypeList(enable_sort=False)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42438 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e127b669
......@@ -1635,8 +1635,7 @@ def setDefaultProperties(property_holder, object=None, portal=None):
from Products.ERP5Type.ERP5Type import ERP5TypeInformation
portal_type = object.portal_type
for group in ERP5TypeInformation.defined_group_list:
value = portal_type in portal._getPortalGroupedTypeSet(group,
enable_sort=False)
value = portal_type in portal._getPortalGroupedTypeSet(group)
prop = {
'id' : group,
'description' : "accessor to know the membership of portal group %s" \
......
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