hg merge release-6.2 (merge release6.2 into default)

This commit is contained in:
Carlos Ruiz 2019-07-06 12:43:07 +02:00
commit 25637cc743
1 changed files with 3 additions and 1 deletions

View File

@ -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());
}