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:
parent
4f72545787
commit
c4d6e259b2
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue