From 077a2c07a4e45b33a43d3edf9e28bb9d1c3200e8 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 3 Jul 2019 15:47:11 +0200 Subject: [PATCH] IDEMPIERE-2850 Allow to schedule background reports in xls / do not set print format for financial reports --- .../src/org/adempiere/webui/apps/AbstractProcessDialog.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 01bb7940a0..4201d832aa 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 @@ -68,6 +68,7 @@ import org.compiere.model.MRole; import org.compiere.model.MSysConfig; import org.compiere.model.MUser; import org.compiere.model.Query; +import org.compiere.model.SystemIDs; import org.compiere.model.X_AD_ReportView; import org.compiere.print.MPrintFormat; import org.compiere.process.ProcessInfo; @@ -614,7 +615,8 @@ public abstract class AbstractProcessDialog extends Window implements IProcessUI private void setReportTypeAndPrintFormat(MPInstance instance) { - if (fPrintFormat != null && instance != null) { + if (fPrintFormat != null && instance != null + && instance.getAD_Process_ID() != SystemIDs.PROCESS_RPT_FINREPORT) { fPrintFormat.setValue((Integer) instance.getAD_PrintFormat_ID()); }