diff --git a/product/ERP5/Tool/TemplateTool.py b/product/ERP5/Tool/TemplateTool.py index 723c084163ef7719dcdad05926f478ff187525ee..4458f87e3dd86f170c3bf8c0d905d8c69277ae70 100644 --- a/product/ERP5/Tool/TemplateTool.py +++ b/product/ERP5/Tool/TemplateTool.py @@ -143,7 +143,7 @@ class TemplateTool (BaseTool): 'Business Package', 'Business Manager']): if bt.getPortalType() == 'Business Manager': - if bt.getStatus() == 'installed' and bt.title == title: + if bt.getInstallationState() == 'installed' and bt.title == title: return bt else: continue