From df60069575e84d60f9fba3f0de611769417642e6 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Fri, 25 Apr 2008 20:11:17 +0000 Subject: [PATCH] Fix [ 1951878 ] Warning on Initial Client Setup --- base/src/org/compiere/model/MElementValue.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/src/org/compiere/model/MElementValue.java b/base/src/org/compiere/model/MElementValue.java index 1210ceed70..74cd202f45 100644 --- a/base/src/org/compiere/model/MElementValue.java +++ b/base/src/org/compiere/model/MElementValue.java @@ -226,8 +226,8 @@ public class MElementValue extends X_C_ElementValue if (newRecord) { // afalcone [Bugs #1837219] - int ad_Tree_ID= (new MElement(getCtx(), getC_Element_ID(), null)).getAD_Tree_ID(); - String treeType= (new MTree(getCtx(),ad_Tree_ID,null)).getTreeType(); + int ad_Tree_ID= (new MElement(getCtx(), getC_Element_ID(), get_TrxName())).getAD_Tree_ID(); + String treeType= (new MTree(getCtx(),ad_Tree_ID,get_TrxName())).getTreeType(); insert_Tree(treeType, getC_Element_ID()); // insert_Tree(MTree_Base.TREETYPE_ElementValue, getC_Element_ID()); Old