diff --git a/product/ERP5Type/DocumentationHelper/ERP5SiteDocumentationHelper.py b/product/ERP5Type/DocumentationHelper/ERP5SiteDocumentationHelper.py
index faca8c67da181d5d12bd6308214bf7c16a79a7dc..be40bfc933d97b442be662cca34ccbb6634ca84d 100644
--- a/product/ERP5Type/DocumentationHelper/ERP5SiteDocumentationHelper.py
+++ b/product/ERP5Type/DocumentationHelper/ERP5SiteDocumentationHelper.py
@@ -87,9 +87,7 @@ class ERP5SiteDocumentationHelper(DocumentationHelper):
     bt_list = []
     for bt in self.getDocumentedObject().portal_templates.objectValues():
       current_state = ''
-      for wh in bt.workflow_history['business_template_installation_workflow']:
-        current_state = wh['installation_state']
-      if current_state == 'installed':
+      if bt.getInstallationState() == 'installed':
         bt_list.append(bt.getId())
     return bt_list