Fixed wrong condition on UpdateIsCompletelyInvoiced default tip
authorGuillermo Gil <guillermo.gil@openbravo.com>
Tue, 02 Apr 2019 11:22:27 +0200
changeset 32500 1790d6ae0d66
parent 32499 7c394b3e425a
Fixed wrong condition on UpdateIsCompletelyInvoiced
src/org/openbravo/erpCommon/ad_process/UpdateIsCompletelyInvoicedQ1.java
--- a/src/org/openbravo/erpCommon/ad_process/UpdateIsCompletelyInvoicedQ1.java	Fri Nov 03 07:47:29 2017 +0100
+++ b/src/org/openbravo/erpCommon/ad_process/UpdateIsCompletelyInvoicedQ1.java	Tue Apr 02 11:22:27 2019 +0200
@@ -98,7 +98,7 @@
             "SELECT io.id" //
                 + " FROM MaterialMgmtShipmentInOut io" //
                 + " WHERE io.salesTransaction = true" //
-                + " AND io.completelyInvoiced = true" //
+                + " AND io.completelyInvoiced = false" //
                 + " AND NOT EXISTS (SELECT 1" //
                 + "   FROM MaterialMgmtShipmentInOutLine iol" //
                 + "   LEFT JOIN iol.invoiceLineList il" //