IDEMPIERE-845 Reference List not allowing to clear

This commit is contained in:
Carlos Ruiz 2013-04-09 21:45:24 -05:00
parent 8ec9d58deb
commit 019dc77fc5
1 changed files with 2 additions and 0 deletions

View File

@ -244,6 +244,8 @@ ContextMenuListener, IZoomableEditor
retVal = selItem.getValue();
if ((retVal instanceof Integer) && (Integer)retVal == -1)
retVal = null;
else if ((retVal instanceof String) && "".equals(retVal))
retVal = null;
}
return retVal;
}