Browse Source

[WIP] mis_builder refactoring: fix bug with detail accounts

pull/189/head
Stéphane Bidoul 9 years ago
parent
commit
059ccdb975
  1. 3
      mis_builder/models/mis_builder.py

3
mis_builder/models/mis_builder.py

@ -157,6 +157,9 @@ class KpiMatrix(object):
row = self._kpi_rows[kpi]
else:
kpi_row = self._kpi_rows[kpi]
if account_id in self._detail_rows[kpi]:
row = self._detail_rows[kpi][account_id]
else:
row = KpiMatrixRow(self, kpi, account_id, parent_row=kpi_row)
self._detail_rows[kpi][account_id] = row
col = self._cols[period_key]

Loading…
Cancel
Save