IDEMPIERE-2656 user preferences are not applied correctly for Yes/No
This commit is contained in:
parent
f53226d73a
commit
65cd99c297
|
@ -76,6 +76,11 @@ public class ValuePreference extends Window implements EventListener<Event>
|
|||
*/
|
||||
public static void start (Component ref, GridField mField, Object aValue)
|
||||
{
|
||||
if (aValue != null && aValue instanceof Boolean)
|
||||
if ((Boolean) aValue)
|
||||
aValue = 'Y';
|
||||
else
|
||||
aValue = 'N';
|
||||
start (ref, mField, aValue, null);
|
||||
} // start
|
||||
|
||||
|
|
Loading…
Reference in New Issue