IDEMPIERE-4253 Duplicated FillMandatory message on process dialogs

This commit is contained in:
Carlos Ruiz 2020-04-23 21:08:43 +02:00
parent ffb6388d3c
commit 09d2f9a1e3
1 changed files with 3 additions and 3 deletions

View File

@ -820,15 +820,15 @@ public abstract class AbstractProcessDialog extends Window implements IProcessUI
protected void startProcess()
{
if (!parameterPanel.validateParameters())
return;
if (m_pi.isProcessRunning(parameterPanel.getParameters())) {
FDialog.error(getWindowNo(), "ProcessAlreadyRunning");
log.log(Level.WARNING, "Abort process " + m_AD_Process_ID + " because it is already running");
return;
}
if (!parameterPanel.validateParameters())
return;
startProcess0();
}