From a53e0ffa424080463a5a780f8cba8949e6a2dfc9 Mon Sep 17 00:00:00 2001 From: phib Date: Fri, 14 Aug 2009 01:27:58 +0000 Subject: [PATCH] Bug 2837180 Financial Report incorrectly excludes Inactive account element https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2837180&group_id=176962 --- base/src/org/compiere/report/MReportTree.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/base/src/org/compiere/report/MReportTree.java b/base/src/org/compiere/report/MReportTree.java index 402d775a80..3b0a5a6c51 100644 --- a/base/src/org/compiere/report/MReportTree.java +++ b/base/src/org/compiere/report/MReportTree.java @@ -120,7 +120,9 @@ public class MReportTree + ", PA_Hierarchy_ID=" + PA_Hierarchy_ID); // boolean clientTree = true; - m_tree = new MTree (ctx, AD_Tree_ID, false, clientTree, null); + m_tree = new MTree (ctx, AD_Tree_ID, true, clientTree, null); // include inactive and empty summary nodes + // remove summary nodes without children + m_tree.trimTree(); } // MReportTree /** Optional Hierarchy */