Browse Source

[IMP] mis_builder: add KPI name in tooltips

pull/86/head
Stéphane Bidoul 10 years ago
parent
commit
cf1a48a14d
  1. 2
      mis_builder/models/mis_builder.py

2
mis_builder/models/mis_builder.py

@ -636,7 +636,7 @@ class mis_report_instance_period(orm.Model):
while True: while True:
for kpi in compute_queue: for kpi in compute_queue:
try: try:
kpi_val_comment = kpi.expression
kpi_val_comment = kpi.name + " = " + kpi.expression
kpi_eval_expression = aep.replace_expr(kpi.expression) kpi_eval_expression = aep.replace_expr(kpi.expression)
kpi_val = safe_eval(kpi_eval_expression, localdict) kpi_val = safe_eval(kpi_eval_expression, localdict)
except ZeroDivisionError: except ZeroDivisionError:

Loading…
Cancel
Save