Browse Source

[FIX] fix sum of simple value

pull/189/head
Sébastien BEAU 9 years ago
committed by Stéphane Bidoul
parent
commit
07d788006e
  1. 4
      mis_builder/models/mis_builder.py

4
mis_builder/models/mis_builder.py

@ -553,8 +553,10 @@ class MisReport(models.Model):
if kpi.multi:
vals = SimpleArray(vals)
else:
elif isinstance(vals[0], SimpleArray):
vals = vals[0]
else:
vals = SimpleArray(vals[0])
localdict[kpi.name] = vals
res[kpi] = vals

Loading…
Cancel
Save