Merge cc34fa84169b

This commit is contained in:
Heng Sin Low 2013-05-21 23:47:19 +08:00
commit bf58706421
3 changed files with 36 additions and 1 deletions

View File

@ -0,0 +1,17 @@
-- May 20, 2013 11:19:05 AM COT
-- IDEMPIERE-936 NPE opening RfQ Response
UPDATE AD_Tab SET TabLevel=0,Updated=TO_DATE('2013-05-20 11:19:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=614
;
-- May 20, 2013 11:19:15 AM COT
-- IDEMPIERE-936 NPE opening RfQ Response
UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2013-05-20 11:19:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=616
;
-- May 20, 2013 11:19:22 AM COT
-- IDEMPIERE-936 NPE opening RfQ Response
UPDATE AD_Tab SET TabLevel=2,Updated=TO_DATE('2013-05-20 11:19:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=618
;
SELECT register_migration_script('201305201121_IDEMPIERE-936.sql') FROM dual
;

View File

@ -0,0 +1,17 @@
-- May 20, 2013 11:19:05 AM COT
-- IDEMPIERE-936 NPE opening RfQ Response
UPDATE AD_Tab SET TabLevel=0,Updated=TO_TIMESTAMP('2013-05-20 11:19:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=614
;
-- May 20, 2013 11:19:15 AM COT
-- IDEMPIERE-936 NPE opening RfQ Response
UPDATE AD_Tab SET TabLevel=1,Updated=TO_TIMESTAMP('2013-05-20 11:19:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=616
;
-- May 20, 2013 11:19:22 AM COT
-- IDEMPIERE-936 NPE opening RfQ Response
UPDATE AD_Tab SET TabLevel=2,Updated=TO_TIMESTAMP('2013-05-20 11:19:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=618
;
SELECT register_migration_script('201305201121_IDEMPIERE-936.sql') FROM dual
;

View File

@ -281,7 +281,8 @@ ContextMenuListener, IZoomableEditor
//still not in list, reset to zero
if (!getComponent().isSelected(value))
{
if (value instanceof Integer && gridField != null && gridField.getDisplayType() != DisplayType.ID && !gridTab.getTableModel().isImporting()) // for IDs is ok to be out of the list
if (value instanceof Integer && gridField != null && gridField.getDisplayType() != DisplayType.ID
&& gridTab != null && !gridTab.getTableModel().isImporting()) // for IDs is ok to be out of the list
{
getComponent().setValue(null);
if (curValue == null)