IDEMPIERE-2350 Run process as a background job
This commit is contained in:
parent
899c60b041
commit
b0579e009c
|
@ -216,9 +216,7 @@ public abstract class AbstractProcessDialog extends Window implements IProcessUI
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
MProcess process = new MProcess(m_ctx, m_AD_Process_ID, null);
|
if (MSysConfig.getBooleanValue(MSysConfig.BACKGROUND_JOB_ALLOWED, false))
|
||||||
boolean isReport = (process.isReport() || process.getAD_ReportView_ID() > 0);
|
|
||||||
if (isReport && MSysConfig.getBooleanValue(MSysConfig.BACKGROUND_JOB_ALLOWED, false))
|
|
||||||
{
|
{
|
||||||
Grid grid = GridFactory.newGridLayout();
|
Grid grid = GridFactory.newGridLayout();
|
||||||
centerPanel.appendChild(grid);
|
centerPanel.appendChild(grid);
|
||||||
|
|
Loading…
Reference in New Issue