IDEMPIERE-6187 Transaction closed when running workflow on certain conditions (#2413)
This commit is contained in:
parent
55f9bf2349
commit
22fc9ea462
|
|
@ -1048,7 +1048,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
|
||||||
}
|
}
|
||||||
pi.setIsBatch(true);
|
pi.setIsBatch(true);
|
||||||
pi.setPDFFileName(fileName);
|
pi.setPDFFileName(fileName);
|
||||||
ServerProcessCtl.process(pi, (m_trxName == null ? null : Trx.get(m_trxName, false)));
|
ServerProcessCtl.process(pi, (m_trxName == null ? null : Trx.get(m_trxName, false)), false);
|
||||||
} else {
|
} else {
|
||||||
PDFReportRendererConfiguration config = new PDFReportRendererConfiguration().setOutputFile(file);
|
PDFReportRendererConfiguration config = new PDFReportRendererConfiguration().setOutputFile(file);
|
||||||
new PDFReportRenderer().renderReport(this, config);
|
new PDFReportRenderer().renderReport(this, config);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue