From 1250197eef579e34c44bc8cbeab38df1949b9d27 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 13 Aug 2009 18:12:19 +0000 Subject: [PATCH] Fixed big issues with the new trx management BF [1920179] - VPayment completing documents outside of Trx https://sourceforge.net/tracker/?func=detail&atid=879332&aid=1920179&group_id=176962 PO is marking the key as null on VPayment --- base/src/org/compiere/model/PO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/org/compiere/model/PO.java b/base/src/org/compiere/model/PO.java index 96f3e1e1f1..5b21c2cdd2 100644 --- a/base/src/org/compiere/model/PO.java +++ b/base/src/org/compiere/model/PO.java @@ -1885,7 +1885,7 @@ public abstract class PO // for (int i = 0; i < m_IDs.length; i++) { - if (m_IDs[i].equals(I_ZERO)) + if (m_IDs[i].equals(I_ZERO) || m_IDs[i] == Null.NULL) continue; return false; // one value is non-zero }