diff --git a/migration/i2.0/oracle/201403161604_IDEMPIERE-1619.sql b/migration/i2.0/oracle/201403161604_IDEMPIERE-1619.sql index e4c340db9c..de73ec9e32 100644 --- a/migration/i2.0/oracle/201403161604_IDEMPIERE-1619.sql +++ b/migration/i2.0/oracle/201403161604_IDEMPIERE-1619.sql @@ -9,5 +9,9 @@ UPDATE AD_Column SET IsUpdateable='N', DefaultValue='@1|AD_WF_Node_ID@',Updated= -- Mar 16, 2014 1:25:39 PM ICT UPDATE AD_Column SET IsUpdateable='N', DefaultValue='@1|AD_WF_Node_ID@',Updated=TO_DATE('2014-03-16 13:25:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=304 ; + +UPDATE AD_Column SET IsUpdateable='N', DefaultValue='@4|AD_WF_NodeNext_ID@',Updated=TO_DATE('2014-03-20 02:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11571 +; + SELECT register_migration_script('201403161604_IDEMPIERE-1619.sql') FROM dual ; diff --git a/migration/i2.0/postgresql/201403161604_IDEMPIERE-1619.sql b/migration/i2.0/postgresql/201403161604_IDEMPIERE-1619.sql index 32ffd11ef0..079a50db2f 100644 --- a/migration/i2.0/postgresql/201403161604_IDEMPIERE-1619.sql +++ b/migration/i2.0/postgresql/201403161604_IDEMPIERE-1619.sql @@ -6,5 +6,9 @@ UPDATE AD_Column SET IsUpdateable='N', DefaultValue='@1|AD_WF_Node_ID@',Updated= -- Mar 16, 2014 1:25:39 PM ICT UPDATE AD_Column SET IsUpdateable='N', DefaultValue='@1|AD_WF_Node_ID@',Updated=TO_TIMESTAMP('2014-03-16 13:25:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=304 ; + +UPDATE AD_Column SET IsUpdateable='N', DefaultValue='@4|AD_WF_NodeNext_ID@',Updated=TO_TIMESTAMP('2014-03-20 02:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11571 +; + SELECT register_migration_script('201403161604_IDEMPIERE-1619.sql') FROM dual ; diff --git a/org.adempiere.base/src/org/compiere/model/GridTab.java b/org.adempiere.base/src/org/compiere/model/GridTab.java index 18d4331f46..644632b754 100644 --- a/org.adempiere.base/src/org/compiere/model/GridTab.java +++ b/org.adempiere.base/src/org/compiere/model/GridTab.java @@ -1402,7 +1402,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable if (!isDetail()) return true; // Same link column value - String value = Env.getContext(m_vo.ctx, m_vo.WindowNo, getLinkColumnName()); + String value = Env.getContext(m_vo.ctx, m_vo.WindowNo, this.getParentTabNo(), getLinkColumnName()); return m_linkValue.equals(value); } // isCurrent