From b785b23243250fdddbb4c4d5ae64475220cabe6a Mon Sep 17 00:00:00 2001 From: Murilo Habermann Torquato Date: Mon, 28 Sep 2015 09:41:57 +0200 Subject: [PATCH] IDEMPIERE-2599 INVOICERULE = AfterOrderDelivered showing some false Failed messages --- .../src/org/compiere/process/InvoiceGenerate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.base.process/src/org/compiere/process/InvoiceGenerate.java b/org.adempiere.base.process/src/org/compiere/process/InvoiceGenerate.java index f04a99e145..30407ce96b 100644 --- a/org.adempiere.base.process/src/org/compiere/process/InvoiceGenerate.java +++ b/org.adempiere.base.process/src/org/compiere/process/InvoiceGenerate.java @@ -303,7 +303,7 @@ public class InvoiceGenerate extends SvrProcess .divide(oLine.getQtyOrdered(), 12, BigDecimal.ROUND_HALF_UP); createLine (order, oLine, toInvoice, qtyEntered); } - else + else if (!completeOrder) { if (log.isLoggable(Level.FINE)) log.fine("Failed: " + order.getInvoiceRule() + " - ToInvoice=" + toInvoice + " - " + oLine);