IDEMPIERE-913 Fix broken payment reference

This commit is contained in:
Carlos Ruiz 2013-05-13 08:39:37 -05:00
parent 86a5c96e9d
commit cf769011c1
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ public class DefaultLookupFactory implements ILookupFactory{
@Override @Override
public Lookup getLookup(GridFieldVO gridFieldVO) { public Lookup getLookup(GridFieldVO gridFieldVO) {
Lookup lookup = null; Lookup lookup = null;
if (gridFieldVO.lookupInfo == null) // IDEMPIERE-913 if (gridFieldVO.lookupInfo == null && DisplayType.isLookup(gridFieldVO.displayType)) // IDEMPIERE-913
gridFieldVO.loadLookupInfo(); gridFieldVO.loadLookupInfo();
if (gridFieldVO.displayType == Location) // not cached if (gridFieldVO.displayType == Location) // not cached
{ {

View File

@ -234,7 +234,7 @@ public class GridField
*/ */
public Lookup getLookup() public Lookup getLookup()
{ {
if (m_lookup == null) loadLookupFromFactory(); // IDEMPIERE-913 if (m_lookup == null) loadLookupNoValidate(); // IDEMPIERE-913
return m_lookup; return m_lookup;
} // getLookup } // getLookup