Commit 13fc3098 by Julien Muchembled

Fix missing isRelatedLocallyIndexed accessor when upgrading products before property sheets

1 parent d72934e8
......@@ -796,6 +796,13 @@ class BaseCategory(Category):
security = ClassSecurityInfo()
security.declareObjectProtected(Permissions.AccessContentsInformation)
# BBB: Required to start instance with old
# version of erp5_property_sheets BT.
related_locally_indexed = False
def isRelatedLocallyIndexed(self):
"""Determines if related values should be indexed on target documents"""
return self.related_locally_indexed
def asSQLExpression(self, strict_membership=0, table='category', base_category=None):
"""
A Predicate can be rendered as an sql expression. This
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!