IDEMPIERE-3083 Initial Client Setup Process - Not unique in the ID space / IDEMPIERE-3071

This commit is contained in:
Carlos Ruiz 2016-04-28 22:31:05 -07:00
parent 32b3ea2fe4
commit 21693e24a9
1 changed files with 4 additions and 1 deletions

View File

@ -221,13 +221,13 @@ public abstract class AbstractProcessDialog extends Window implements IProcessUI
m_pi.setTitle(m_Name);
parameterPanel = new ProcessParameterPanel(m_WindowNo, m_pi);
layout();
if ( !parameterPanel.init() ) {
if (m_ShowHelp != null && MProcess.SHOWHELP_DonTShowHelp.equals(m_ShowHelp))
autoStart = true;
if (autoStart)
{
layout();
bOK.setDisabled(true);
bCancel.setDisabled(true);
autoStart();
@ -238,12 +238,15 @@ public abstract class AbstractProcessDialog extends Window implements IProcessUI
// Check if the process is a silent one
if (isValid() && m_ShowHelp != null && MProcess.SHOWHELP_RunSilently_TakeDefaults.equals(m_ShowHelp))
{
layout();
bOK.setDisabled(true);
bCancel.setDisabled(true);
autoStart();
return true;
}
layout();
return true;
}