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)
This commit is contained in:
teo_sarca 2009-05-08 07:22:42 +00:00
parent 0eb3b42850
commit 7a64b19464
1 changed files with 1 additions and 0 deletions

View File

@ -898,6 +898,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
log.saveError("CurrentRecordModified", msg, false); log.saveError("CurrentRecordModified", msg, false);
return true; 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()) { if (isDetail()) {
// get parent tab // get parent tab
// the parent tab is the first tab above with level = this_tab_level-1 // the parent tab is the first tab above with level = this_tab_level-1