From 9f0809eb8dab946e1235cbb99b9d8091191ffdfb Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 29 Apr 2015 06:58:33 -0500 Subject: [PATCH] IDEMPIERE-581 Store divider location for window per user / fix issue with System user - thanks to Nicolas Micoud (nmicoud) --- .../WEB-INF/src/org/adempiere/webui/adwindow/ADTabpanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADTabpanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADTabpanel.java index 96806e1772..36e078ced1 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADTabpanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADTabpanel.java @@ -1747,7 +1747,7 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer if (preference == null || preference.getAD_Preference_ID() <= 0) { preference = new MPreference(Env.getCtx(), 0, null); preference.setAD_Window_ID(windowId); - preference.setAD_User_ID(userId); + preference.set_ValueOfColumn("AD_User_ID", userId); // required set_Value for System=0 user preference.setAttribute(adTabId+"|DetailPane.Height"); } preference.setValue(height);