Commit ad1d6cb4 authored by Ayush Tiwari's avatar Ayush Tiwari

BusinessTemplate: use isIndexingRequired for ERP5Site object

parent 84e17363
......@@ -5434,7 +5434,7 @@ Business Template is a set of definitions, such as skins, portal types and categ
if update_catalog:
catalog = _getCatalogValue(self)
if (catalog is None) or (not site.isIndexable):
if (catalog is None) or (not site.isIndexingRequired()):
LOG('Business Template', 0, 'no SQL Catalog available')
update_catalog = 0
else:
......
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