Enable printing of Jasper Report formatted invoices in the invoice process.

Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2973199
This commit is contained in:
usrdno 2010-05-04 07:47:07 +00:00
parent 85b684429b
commit 7b9d12f9b5
1 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ import org.compiere.model.MUserMail;
import org.compiere.model.PrintInfo;
import org.compiere.model.X_C_Invoice;
import org.compiere.print.MPrintFormat;
import org.compiere.print.ReportCtl;
import org.compiere.print.ReportEngine;
import org.compiere.util.AdempiereUserError;
import org.compiere.util.DB;
@ -336,7 +337,7 @@ public class InvoicePrint extends SvrProcess
}
else
{
re.print();
ReportCtl.startDocumentPrint(ReportEngine.INVOICE, C_Invoice_ID, null, 0, true);
count++;
printed = true;
}