diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/AbstractADWindowPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/AbstractADWindowPanel.java index c20ed3f7ed..a3ca491147 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/AbstractADWindowPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/AbstractADWindowPanel.java @@ -988,6 +988,16 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To } toolbar.enablePrint(curTab.isPrinted()); + + if (gridWindow.isTransaction() && isFirstTab()) + { + toolbar.enableHistoryRecords(true); + } + else + { + toolbar.enableHistoryRecords(false); + } + } /**