diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/DetailPane.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/DetailPane.java index e035967e28..8a2a525aa6 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/DetailPane.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/DetailPane.java @@ -213,16 +213,18 @@ public class DetailPane extends Panel implements EventListener { }); button.setTooltiptext(Util.cleanAmp(Msg.getMsg(Env.getCtx(), "Delete"))); - button = new ToolBarButton(); - button.setImage(PROCESS_IMAGE); - toolbar.appendChild(button); - button.addEventListener(Events.ON_CLICK, new EventListener() { - @Override - public void onEvent(Event event) throws Exception { - onProcess(event.getTarget()); - } - }); - button.setTooltiptext(Util.cleanAmp(Msg.getMsg(Env.getCtx(), "Process"))); + if (!tabPanel.getGridTab().isSortTab()) { + button = new ToolBarButton(); + button.setImage(PROCESS_IMAGE); + toolbar.appendChild(button); + button.addEventListener(Events.ON_CLICK, new EventListener() { + @Override + public void onEvent(Event event) throws Exception { + onProcess(event.getTarget()); + } + }); + button.setTooltiptext(Util.cleanAmp(Msg.getMsg(Env.getCtx(), "Process"))); + } Hbox messageContainer = new Hbox(); messageContainer.setPack("end");