Skip to content

Commit

Permalink
Merge pull request #732 from metasfresh/gh727webui
Browse files Browse the repository at this point in the history
Support Lookup view attributes
  • Loading branch information
teosarca committed Dec 10, 2017
2 parents cc0eb45 + ba10d83 commit 69e75ef
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,15 @@ public static final DocumentFieldWidgetType extractWidgetType(final IAttributeVa
{
if (attributeValue.isList())
{
return DocumentFieldWidgetType.List;
final I_M_Attribute attribute = attributeValue.getM_Attribute();
if (attribute.isHighVolume())
{
return DocumentFieldWidgetType.Lookup;
}
else
{
return DocumentFieldWidgetType.List;
}
}
else if (attributeValue.isStringValue())
{
Expand Down

0 comments on commit 69e75ef

Please sign in to comment.