From 666e291efee59a0c140fb77d54a331032dd56fba Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sat, 26 Mar 2011 00:41:45 -0500 Subject: [PATCH] Fix [3158764] - ZKWebUI - New Lot https://sourceforge.net/tracker/?func=detail&atid=879332&aid=3158764&group_id=176962 --- .../src/org/adempiere/webui/window/WPAttributeDialog.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WPAttributeDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WPAttributeDialog.java index 1eeba48910..6b3b61d566 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WPAttributeDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WPAttributeDialog.java @@ -673,7 +673,9 @@ public class WPAttributeDialog extends Window implements EventListener { ListItem item = new ListItem(pp.getName(), pp.getKey()); fieldLot.appendChild(item); - fieldLot.setSelectedItem(item); + fieldLot.setSelectedItem(item); + fieldLotString.setText (m_masi.getLot()); + fieldLotString.setReadonly(true); } } // Create New SerNo