From 363f21993fa5420f393abb70ebf994749eaa7179 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 26 Nov 2020 05:55:10 +0100 Subject: [PATCH] IDEMPIERE-4285 Cannot send mail while creating RfQ Response (#413) Co-authored-by: Ray Lee --- org.adempiere.base/src/org/compiere/model/MRfQResponse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.base/src/org/compiere/model/MRfQResponse.java b/org.adempiere.base/src/org/compiere/model/MRfQResponse.java index b1bf74a3cd..14206f2a3d 100644 --- a/org.adempiere.base/src/org/compiere/model/MRfQResponse.java +++ b/org.adempiere.base/src/org/compiere/model/MRfQResponse.java @@ -282,7 +282,7 @@ public class MRfQResponse extends X_C_RfQResponse */ public File createPDF (File file) { - ReportEngine re = ReportEngine.get (getCtx(), ReportEngine.RFQ, getC_RfQResponse_ID()); + ReportEngine re = ReportEngine.get (getCtx(), ReportEngine.RFQ, getC_RfQResponse_ID(),get_TrxName()); if (re == null) return null; MPrintFormat format = re.getPrintFormat();