[printpdf] Fixed Sales Order printing from backend
authorAaron Calero <aaron.calero@openbravo.com>
Fri, 11 Jan 2019 09:55:01 +0100
changeset 32607 56bb95c41484
parent 32606 99dd7187d063
child 32608 4f803b0a67f4
[printpdf] Fixed Sales Order printing from backend
src/org/openbravo/erpCommon/utility/reporting/printing/PrintOrders.java
--- a/src/org/openbravo/erpCommon/utility/reporting/printing/PrintOrders.java	Fri Dec 07 14:48:29 2018 +0100
+++ b/src/org/openbravo/erpCommon/utility/reporting/printing/PrintOrders.java	Fri Jan 11 09:55:01 2019 +0100
@@ -66,7 +66,7 @@
 
   @Override
   public void printReports(OutputStream os, Collection<Report> reports, String js) {
-    super.printReports(os, reports);
+    super.printReports(os, reports, js);
     for (Report report : reports) {
       Order order = OBDal.getInstance().get(Order.class, report.getDocumentId());
       order.setDatePrinted(new Date());