From e6c52c2429b5bcbbea42d00a93b5476c7ec1be00 Mon Sep 17 00:00:00 2001 From: Ayush <ayush.tiwari@nexedi.com> Date: Wed, 16 Aug 2017 16:41:58 +0200 Subject: [PATCH] bt5_config: Use getInstallationState to get the state from workflow_history --- product/ERP5/Tool/TemplateTool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Tool/TemplateTool.py b/product/ERP5/Tool/TemplateTool.py index 723c084163..4458f87e3d 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 -- 2.30.9