diff --git a/mis_template_financial_report/models/mis_report_instance.py b/mis_template_financial_report/models/mis_report_instance.py index a688b3794d4..d9da6e20430 100644 --- a/mis_template_financial_report/models/mis_report_instance.py +++ b/mis_template_financial_report/models/mis_report_instance.py @@ -24,11 +24,11 @@ def compute(self): if not self.horizontal: return super().compute() + result = super().compute() full_matrix = self._compute_matrix() matrices = self._split_matrix(full_matrix) - result = full_matrix.as_dict() result["split_matrices"] = [extra_matrix.as_dict() for extra_matrix in matrices] return result