IDEMPIERE-6187 Transaction closed when running workflow on certain conditions (#2413)

This commit is contained in:
Carlos Ruiz 2024-07-05 19:37:54 +02:00
parent 55f9bf2349
commit 22fc9ea462
1 changed files with 1 additions and 1 deletions

View File

@ -1048,7 +1048,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
}
pi.setIsBatch(true);
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 {
PDFReportRendererConfiguration config = new PDFReportRendererConfiguration().setOutputFile(file);
new PDFReportRenderer().renderReport(this, config);