From a5a2d3a7874a829d69ecefc024c2bbfce81d657b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Wed, 27 Apr 2016 10:24:41 +0000 Subject: [PATCH] administration: include_active active process to display results when running When running this alarm by hand, we do not want to wait. --- .../Alarm_getConsistencyCheckReportLineList.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Alarm_getConsistencyCheckReportLineList.py b/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Alarm_getConsistencyCheckReportLineList.py index f199a6292ec..532b499eefb 100644 --- a/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Alarm_getConsistencyCheckReportLineList.py +++ b/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Alarm_getConsistencyCheckReportLineList.py @@ -4,7 +4,7 @@ """ if active_process is None: - active_process = context.getLastActiveProcess() + active_process = context.getLastActiveProcess(include_active=True) else: active_process = context.getPortalObject().restrictedTraverse(active_process) -- 2.30.9