From b09437f2348f47592ee47b3972892e2226bd86ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sat, 25 Apr 2015 23:54:27 +0200 Subject: [PATCH] [IMP] mis_builder: add KPI name in tooltips --- mis_builder/models/mis_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mis_builder/models/mis_builder.py b/mis_builder/models/mis_builder.py index bbffcedc..a353d68c 100644 --- a/mis_builder/models/mis_builder.py +++ b/mis_builder/models/mis_builder.py @@ -636,7 +636,7 @@ class mis_report_instance_period(orm.Model): while True: for kpi in compute_queue: try: - kpi_val_comment = kpi.expression + kpi_val_comment = kpi.name + " = " + kpi.expression kpi_eval_expression = aep.replace_expr(kpi.expression) kpi_val = safe_eval(kpi_eval_expression, localdict) except ZeroDivisionError: