From 7a64b1946468aec57aef176840b49b94ebbcc9c8 Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Fri, 8 May 2009 07:22:42 +0000 Subject: [PATCH] Bug fix for [1985481] - Processed documents can be edited https://sourceforge.net/tracker/?func=detail&atid=879332&aid=1985481&group_id=176962 workaround - issue when we have same table on parent and child records (BPartner), see tracker description (1985481) --- base/src/org/compiere/model/GridTab.java | 1 + 1 file changed, 1 insertion(+) diff --git a/base/src/org/compiere/model/GridTab.java b/base/src/org/compiere/model/GridTab.java index 9152570cc4..3b1ef8a701 100644 --- a/base/src/org/compiere/model/GridTab.java +++ b/base/src/org/compiere/model/GridTab.java @@ -898,6 +898,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable log.saveError("CurrentRecordModified", msg, false); return true; } + if (this.m_vo.AD_Window_ID == 123) return false; // FIXME: arhipac: teo_sarca: workaround - issue when we have same table on parent and child records (BPartner), see tracker description (1985481) if (isDetail()) { // get parent tab // the parent tab is the first tab above with level = this_tab_level-1