IDEMPIERE-704 The Min. value and Max. value validation of column is not working. Fixed regression for reversal of document.
This commit is contained in:
parent
9be2050bff
commit
f073540046
|
@ -785,7 +785,7 @@ public abstract class PO
|
||||||
//
|
//
|
||||||
if (value == null)
|
if (value == null)
|
||||||
{
|
{
|
||||||
if (p_info.isColumnMandatory(index))
|
if (checkWritable && p_info.isColumnMandatory(index))
|
||||||
{
|
{
|
||||||
log.saveError("FillMandatory", ColumnName + " is mandatory.");
|
log.saveError("FillMandatory", ColumnName + " is mandatory.");
|
||||||
throw new IllegalArgumentException (ColumnName + " is mandatory.");
|
throw new IllegalArgumentException (ColumnName + " is mandatory.");
|
||||||
|
|
Loading…
Reference in New Issue