IDEMPIERE-1429 Report Wizard is able to change system templates from within client

This commit is contained in:
Carlos Ruiz 2013-10-21 10:55:42 -05:00
parent 852daf0224
commit 08f6df1992
1 changed files with 4 additions and 1 deletions

View File

@ -671,7 +671,10 @@ public class ZkReportViewer extends Window implements EventListener<Event>, ITab
.append(m_reportEngine.getRowCount()); .append(m_reportEngine.getRowCount());
statusBar.setStatusLine(sb.toString()); statusBar.setStatusLine(sb.toString());
// //
bWizard.setDisabled( (m_reportEngine.getPrintFormat() == null || m_reportEngine.getPrintFormat().getAD_Client_ID() == 0) ); bWizard.setDisabled(
( m_reportEngine.getPrintFormat() == null
|| (m_reportEngine.getPrintFormat().getAD_Client_ID() == 0 && Env.getAD_Client_ID(Env.getCtx()) != 0)
|| m_reportEngine.getPrintFormat().isForm()));
} // revalidate } // revalidate
/** /**