IDEMPIERE-2678 Allow to set explicit NULL value for fields
This commit is contained in:
parent
99f08dbdee
commit
7ae9056c5b
|
@ -745,7 +745,7 @@ public class GridField
|
||||||
private Object createDefault (String value)
|
private Object createDefault (String value)
|
||||||
{
|
{
|
||||||
// true NULL
|
// true NULL
|
||||||
if (value == null || value.toString().length() == 0)
|
if (value == null || value.toString().length() == 0 || value.toUpperCase().equals("NULL"))
|
||||||
return null;
|
return null;
|
||||||
// see also MTable.readData
|
// see also MTable.readData
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue