From dfd780d8ab6555105b8a3019bdcdc8096c11d16e Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Thu, 17 Jun 2010 12:01:25 +0000 Subject: [PATCH] Invalid "Record on parent tab was changed" Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=3017560 --- base/src/org/compiere/model/GridTab.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/base/src/org/compiere/model/GridTab.java b/base/src/org/compiere/model/GridTab.java index 395330de7c..debe710a0f 100644 --- a/base/src/org/compiere/model/GridTab.java +++ b/base/src/org/compiere/model/GridTab.java @@ -962,7 +962,11 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable try { if (hasChangedCurrentTabAndParents()) - return false; + { + // Fail only if it's a true change - teo_sarca [ 3017560 ] + if (manualCmd || m_mTable.hasChanged(m_currentRow)) + return false; + } boolean retValue = (m_mTable.dataSave(manualCmd) == GridTable.SAVE_OK); if (manualCmd)