Fixed bug 26674 Error when trying to pay several invoices using automatic payment method
authorSandra Huguet <sandra.huguet@openbravo.com>
Fri, 23 May 2014 11:46:00 +0200
changeset 23506 becefb2fba2b
parent 23272 6b79b2cff113
child 23507 9a7fa5b162f7
Fixed bug 26674 Error when trying to pay several invoices using automatic payment method
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_ExecutePayment.java
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_ExecutePayment.java	Thu May 22 11:57:01 2014 +0000
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_ExecutePayment.java	Fri May 23 11:46:00 2014 +0200
@@ -198,6 +198,7 @@
                     }
                   }
                 }
+                break;
               }
 
             } finally {
@@ -212,6 +213,7 @@
                   updatePaymentAmounts(paymentRunPayment.getPayment());
                 }
               }
+              break;
             }
           } finally {
             OBContext.restorePreviousMode();