diff --git a/client/src/org/compiere/print/ReportCtl.java b/client/src/org/compiere/print/ReportCtl.java index 68f1fc854a..7d9f5dbee4 100644 --- a/client/src/org/compiere/print/ReportCtl.java +++ b/client/src/org/compiere/print/ReportCtl.java @@ -185,36 +185,6 @@ public class ReportCtl preview(re); } - //vpj-cd e-evolution 15022007 - if(type == ReportEngine.INVOICE) - { - MInvoice m_invoice = new MInvoice(Env.getCtx(), Record_ID,null); - if(!m_invoice.isPrinted()) - { - m_invoice.setIsPrinted(true); - m_invoice.save(); - } - } - else if (type == ReportEngine.SHIPMENT) - { - MInOut m_inout = new MInOut(Env.getCtx(), Record_ID,null); - if(!m_inout.isPrinted()) - { - m_inout.setIsPrinted(true); - m_inout.save(); - } - } - else if (type == ReportEngine.ORDER) - { - MOrder m_order = new MOrder(Env.getCtx(), Record_ID,null); - if(!m_order.isPrinted()) - { - m_order.setIsPrinted(true); - m_order.save(); - } - } - //vpj-cd e-evolution 15022007 - return true; } // StartDocumentPrint