IDEMPIERE-2389:Print format and Report type selection on process dialog - do not set HTML as default, let the SysConfig keys for ZK_REPORT_FORM_OUTPUT_TYPE and ZK_REPORT_TABLE_OUTPUT_TYPE take place

This commit is contained in:
Carlos Ruiz 2019-05-16 17:58:42 +02:00
parent 4f72545787
commit c4d6e259b2
1 changed files with 2 additions and 2 deletions

View File

@ -575,7 +575,7 @@ public abstract class AbstractProcessDialog extends Window implements IProcessUI
freportType.appendItem("PDF", "PDF");
freportType.appendItem("Excel", "XLS");
}
freportType.setSelectedIndex(0);
freportType.setSelectedIndex(-1);
String where = "AD_Process_ID = ? AND AD_User_ID = ? AND Name IS NULL ";
@ -597,7 +597,7 @@ public abstract class AbstractProcessDialog extends Window implements IProcessUI
if (freportType != null && instance != null) {
if (instance.getReportType() == null)
freportType.setValue("HTML");
freportType.setSelectedIndex(-1);
else
freportType.setValue(instance.getReportType());
}