IDEMPIERE-913 Fix trying to load lookup for non lookup fields

This commit is contained in:
Carlos Ruiz 2013-05-13 17:02:51 -05:00
parent cf769011c1
commit 81a67229c0
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ public class GridField
* bypass isdisplay validation, used by findwindow
*/
public void loadLookupNoValidate() {
if (m_vo.lookupInfo == null) {
if (m_vo.lookupInfo == null && isLookup()) {
m_vo.loadLookupInfo();
}
if (m_vo.lookupInfo == null) {