From 900a01ab7ca8077fac8847c24517f3e0e99b5cd5 Mon Sep 17 00:00:00 2001 From: uthadehikaru Date: Sat, 21 Apr 2012 15:31:02 -0500 Subject: [PATCH] Fixed minor error by zuhri --- .../src/org/compiere/process/InOutGenerate.java | 1 - .../src/org/compiere/process/OrderBatchProcess.java | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/org.adempiere.base.process/src/org/compiere/process/InOutGenerate.java b/org.adempiere.base.process/src/org/compiere/process/InOutGenerate.java index a0ec5a61fe..27a33f5dfe 100644 --- a/org.adempiere.base.process/src/org/compiere/process/InOutGenerate.java +++ b/org.adempiere.base.process/src/org/compiere/process/InOutGenerate.java @@ -582,7 +582,6 @@ public class InOutGenerate extends SvrProcess log.warning("Failed: " + m_shipment); throw new IllegalStateException("Shipment Process Failed: " + m_shipment + " - " + m_shipment.getProcessMsg()); - } } m_shipment.saveEx(); // diff --git a/org.adempiere.base.process/src/org/compiere/process/OrderBatchProcess.java b/org.adempiere.base.process/src/org/compiere/process/OrderBatchProcess.java index 8e8980a890..5bd041f9d4 100644 --- a/org.adempiere.base.process/src/org/compiere/process/OrderBatchProcess.java +++ b/org.adempiere.base.process/src/org/compiere/process/OrderBatchProcess.java @@ -182,8 +182,10 @@ public class OrderBatchProcess extends SvrProcess throw new IllegalStateException("Order Process Failed: " + order + " - " + order.getProcessMsg()); } - addLog (0, null, null, order.getDocumentNo() + ": Error " + order.getProcessMsg()); - return false; + // commented by zuhri - unreachable code + //addLog (0, null, null, order.getDocumentNo() + ": Error " + order.getProcessMsg()); + //return false; + // end commented out by zuhri } // process } // OrderBatchProcess