Commit 43bcca39 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Xiaowu Zhang

ERP5Type: make isIndexable() working for Base Type itself

parent cfc2125a
Pipeline #40113 failed with stage
in 0 seconds
......@@ -366,6 +366,8 @@ class ERP5TypeInformation(XMLObject,
"""
portal = self.getPortalObject()
klass = portal.portal_types.getPortalTypeClass(self.getId())
if self.__class__ is klass:
return True
return klass.isIndexable()
security.declarePublic('constructTempInstance')
......
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