IDEMPIERE-2678 Allow to set explicit NULL value for fields

This commit is contained in:
Nicolas Micoud 2015-06-17 08:36:30 -05:00
parent 99f08dbdee
commit 7ae9056c5b
1 changed files with 1 additions and 1 deletions

View File

@ -745,7 +745,7 @@ public class GridField
private Object createDefault (String value)
{
// true NULL
if (value == null || value.toString().length() == 0)
if (value == null || value.toString().length() == 0 || value.toUpperCase().equals("NULL"))
return null;
// see also MTable.readData
try