diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WAllocation.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WAllocation.java index 96bce2c9e1..cb839f1586 100755 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WAllocation.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WAllocation.java @@ -202,7 +202,8 @@ public class WAllocation extends Allocation row = rows.newRow(); row.appendCellChild(bpartnerLabel.rightAlign()); bpartnerSearch.getComponent().setHflex("true"); - row.appendCellChild(bpartnerSearch.getComponent(),2); + row.appendCellChild(bpartnerSearch.getComponent(),2); + bpartnerSearch.showMenu(); Hbox box = new Hbox(); box.appendChild(dateLabel.rightAlign()); box.appendChild(dateField.getComponent()); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/editor/WEditor.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/editor/WEditor.java index b297097690..bc499305bb 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/editor/WEditor.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/editor/WEditor.java @@ -112,7 +112,7 @@ public abstract class WEditor implements EventListener, PropertyChangeLis this.component.getParent().appendChild(popupMenu); // when field have label, add action zoom when click to label, and show menu when right click to label - if (!gridField.isFieldOnly()) + if (!readOnly) { if (popupMenu.isZoomEnabled() && this instanceof IZoomableEditor) {