From 7ae9056c5bb2d1ffc9e7f681905c96c1f7ef174a Mon Sep 17 00:00:00 2001 From: Nicolas Micoud Date: Wed, 17 Jun 2015 08:36:30 -0500 Subject: [PATCH] IDEMPIERE-2678 Allow to set explicit NULL value for fields --- org.adempiere.base/src/org/compiere/model/GridField.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.base/src/org/compiere/model/GridField.java b/org.adempiere.base/src/org/compiere/model/GridField.java index 258040e85d..7af71ebc59 100644 --- a/org.adempiere.base/src/org/compiere/model/GridField.java +++ b/org.adempiere.base/src/org/compiere/model/GridField.java @@ -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