From 18e94d7bca5835879358835549b6d3db55483394 Mon Sep 17 00:00:00 2001 From: Julien Guenat Date: Mon, 1 Sep 2025 12:42:39 +0200 Subject: [PATCH 1/2] [REF] mis_template_financial_report: reorder kpi for readability --- .../data/mis_report_kpi.xml | 77 +++++++++---------- 1 file changed, 37 insertions(+), 40 deletions(-) diff --git a/mis_template_financial_report/data/mis_report_kpi.xml b/mis_template_financial_report/data/mis_report_kpi.xml index 1ec8050a..33829ee7 100644 --- a/mis_template_financial_report/data/mis_report_kpi.xml +++ b/mis_template_financial_report/data/mis_report_kpi.xml @@ -1,17 +1,5 @@ - - loss - Loss - balp[('account_type', 'like', 'expense%')][] - true - - - num - diff - sum - 100 - - + profit Profit @@ -28,8 +16,20 @@ + + loss + Loss + balp[('account_type', 'like', 'expense%')][] + true + + + num + diff + sum + 100 + + - 3 pl_to_report Profit or loss to report profit - loss @@ -41,8 +41,22 @@ 101 + + + assets + Assets + bale[('account_type', 'like', 'asset%')][] + true + + + num + diff + sum + 0 + + + - 8 liability_header Liability liability + subreport_pl.pl_to_report @@ -54,21 +68,7 @@ 100 - - 7 - pl - Profit / Loss - subreport_pl.pl_to_report - false - - num - pct - sum - 102 - - - 5 liability Liabilities 101 - - 4 - assets - Assets - bale[('account_type', 'like', 'asset%')][] - true - - + + pl + Profit / Loss + subreport_pl.pl_to_report + false + num - diff + pct sum - 0 + 102 - From f1f645358e953a9aec9299ae494d7c888e4dd343 Mon Sep 17 00:00:00 2001 From: Julien Guenat Date: Mon, 1 Sep 2025 12:45:31 +0200 Subject: [PATCH 2/2] [IMP] mis_template_financial_report: unallocated earnings --- .../data/mis_report_kpi.xml | 69 ++++++++++++++++--- 1 file changed, 59 insertions(+), 10 deletions(-) diff --git a/mis_template_financial_report/data/mis_report_kpi.xml b/mis_template_financial_report/data/mis_report_kpi.xml index 33829ee7..4a54b426 100644 --- a/mis_template_financial_report/data/mis_report_kpi.xml +++ b/mis_template_financial_report/data/mis_report_kpi.xml @@ -3,9 +3,7 @@ profit Profit - -balp['|', ('account_type', 'like', 'income%'), ('account_type', 'like', 'equity_unaffected')][] + -balp[('account_type', 'like', 'income%')][] true @@ -58,8 +56,8 @@ liability_header - Liability - liability + subreport_pl.pl_to_report + Liability + Equity + liability + equity + current_ue + previous_ue false num @@ -71,9 +69,7 @@ liability Liabilities - -bale['|', ('account_type', 'like', 'liability%'), ('account_type', '=', 'equity')][] + -bale[('account_type', 'like', 'liability%')][] true @@ -83,16 +79,69 @@ 101 + + equity + Equity + -bale[('account_type', '=', 'equity')][] + true + + + num + diff + sum + 102 + + + + unallocated_header + Unallocated Earnings + current_ue + previous_ue + false + + num + none + none + 103 + + + + current_ue + Current Year Unallocated Earnings + subreport_pl.pl_to_report -balp[('account_type', 'like', 'equity_unaffected')] + false + + num + diff + sum + 104 + + + + previous_ue + Previous Year Unallocated Earnings + -balu[] -bale[('account_type', 'like', 'equity_unaffected')] +balp[('account_type', 'like', 'equity_unaffected')] + false + + num + diff + sum + 105 + + pl Profit / Loss subreport_pl.pl_to_report false - + num pct sum - 102 + 110