IDEMPIERE-5430 UPDATE generating unnecessary settings for null columns (#1496)
This commit is contained in:
parent
536eda3546
commit
aef93fb113
|
@ -210,8 +210,11 @@ public class MField extends X_AD_Field implements ImmutablePOSupport
|
|||
setIsAllowCopy("Y");
|
||||
}
|
||||
if (getAD_Reference_ID() <= 0) {
|
||||
if (getAD_Reference_Value_ID()!=0)
|
||||
setAD_Reference_Value_ID(0);
|
||||
if (getAD_Val_Rule_ID()!=0)
|
||||
setAD_Val_Rule_ID(0);
|
||||
if (getIsToolbarButton() != null)
|
||||
setIsToolbarButton(null);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue