From f1f645358e953a9aec9299ae494d7c888e4dd343 Mon Sep 17 00:00:00 2001 From: Julien Guenat Date: Mon, 1 Sep 2025 12:45:31 +0200 Subject: [PATCH] [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