diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/AbstractProcessDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/AbstractProcessDialog.java index 72b51234aa..6b5581c204 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/AbstractProcessDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/AbstractProcessDialog.java @@ -681,7 +681,7 @@ public abstract class AbstractProcessDialog extends Window implements IProcessUI else chooseSaveParameter(saveName, lastRun); }else if (event.getTarget().equals(bOK)){ - if (runAsJobField.isChecked() && getNotificationType() == null) + if (isBackgroundJob() && getNotificationType() == null) throw new WrongValueException(notificationTypeField.getComponent(), Msg.getMsg(m_ctx, "FillMandatory") + notificationTypeLabel.getValue()); saveReportOption(); }