IDEMPIERE-5000 Window Customization Field does not show fields that are not displayed in the Window>Tab>Field sytem record (#922)

This commit is contained in:
Diego Ruiz 2021-10-13 16:14:59 +02:00 committed by GitHub
parent 6dd60f30c7
commit c9354bca85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 79 additions and 82 deletions

View File

@ -117,9 +117,7 @@ public class GridFieldVO implements Serializable, Cloneable
}
// FR IDEMPIERE-177
// Field Customization
if (vo.IsDisplayed) {
MUserDefField userDef = null;
userDef = MUserDefField.get(vo.ctx,vo.AD_Field_ID, vo.AD_Tab_ID, vo.AD_Window_ID);
MUserDefField userDef = MUserDefField.get(vo.ctx,vo.AD_Field_ID, vo.AD_Tab_ID, vo.AD_Window_ID);
if (userDef != null)
{
if (userDef.getName() != null)
@ -201,7 +199,6 @@ public class GridFieldVO implements Serializable, Cloneable
if (userDef.getIsAutocomplete() != null)
vo.IsAutocomplete = "Y".equals(userDef.getIsAutocomplete());
}
}
//
vo.initFinish();
return vo;