diff --git a/org.adempiere.ui.swing/src/org/compiere/print/Viewer.java b/org.adempiere.ui.swing/src/org/compiere/print/Viewer.java index 2f147d2184..c6eaaf50f5 100644 --- a/org.adempiere.ui.swing/src/org/compiere/print/Viewer.java +++ b/org.adempiere.ui.swing/src/org/compiere/print/Viewer.java @@ -467,7 +467,7 @@ public class Viewer extends CFrame } // IDEMPIERE-297 - Check for Table Access and Window Access for New Report if ( MRole.getDefault().isTableAccess(MPrintFormat.Table_ID, false) - && MRole.getDefault().getWindowAccess(WINDOW_PRINTFORMAT)) + && (MRole.getDefault().getWindowAccess(WINDOW_PRINTFORMAT) == Boolean.TRUE)) { StringBuffer sb = new StringBuffer("** ").append(Msg.getMsg(m_ctx, "NewReport")).append(" **"); KeyNamePair pp = new KeyNamePair(-1, sb.toString());