From 2c79b7ff79885e24788a74b0ab1e66f7dafe0628 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Wed, 19 Dec 2007 23:33:14 +0000 Subject: [PATCH] [ 1854455 ] PO.initPO doesn't have transaction support - Fixed a mistake discover by carlos. --- base/src/org/compiere/model/POInfo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/src/org/compiere/model/POInfo.java b/base/src/org/compiere/model/POInfo.java index dca0f2f3a2..54b0939c6d 100644 --- a/base/src/org/compiere/model/POInfo.java +++ b/base/src/org/compiere/model/POInfo.java @@ -59,10 +59,10 @@ public class POInfo implements Serializable POInfo retValue = (POInfo)s_cache.get(key); if (retValue == null) { - retValue = new POInfo(ctx, AD_Table_ID, false); + retValue = new POInfo(ctx, AD_Table_ID, false, trxName); if (retValue.getColumnCount() == 0) // May be run before Language verification - retValue = new POInfo(ctx, AD_Table_ID, true); + retValue = new POInfo(ctx, AD_Table_ID, true, trxName); else s_cache.put(key, retValue); }