details:   https://code.openbravo.com/erp/devel/pi/rev/dedb00350e7e
changeset: 25732:dedb00350e7e
user:      Ander Iraceburu <ander.iraceburu <at> openbravo.com>
date:      Tue Jan 20 17:33:57 2015 +0100
summary:   Fixes issue 28686: Reversing a payment is creating wrong invoice 
payment plan

diffstat:

 
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
 |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 92d415cdc5cf -r dedb00350e7e 
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
--- 
a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
     Thu Jan 15 17:46:57 2015 -0500
+++ 
b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
     Tue Jan 20 17:33:57 2015 +0100
@@ -632,7 +632,7 @@
         String newStrAction = "P";
         FIN_PaymentProcess fpp = WeldUtils
             .getInstanceFromStaticBeanManager(FIN_PaymentProcess.class);
-        fpp.processPayment(payment, newStrAction, isPosOrder, paymentDate, 
comingFrom);
+        fpp.processPayment(reversedPayment, newStrAction, isPosOrder, 
paymentDate, comingFrom);
 
         return;
 

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to