Fixed bug 21641 Shows bussiness partner name in selector in add payment from transaction
authorSandra Huguet <sandra.huguet@openbravo.com>
Thu, 13 Sep 2012 17:48:17 +0200
changeset 17947 6571cad79c4a
parent 17946 ba1f0e76db04
child 17948 ed8fe55b2a08
Fixed bug 21641 Shows bussiness partner name in selector in add payment from transaction
Shows bussiness partner name in the bussines partner selector in
add payment from transaction window
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromTransaction.java
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromTransaction.java	Thu May 24 13:28:08 2012 +0200
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromTransaction.java	Thu Sep 13 17:48:17 2012 +0200
@@ -389,7 +389,7 @@
               .get(0).getPaymentMethod().getId() : "";
         }
       } else {
-        xmlDocument.setParameter("businessPartner", bsline.getBusinessPartner().getId());
+        xmlDocument.setParameter("businessPartner", bsline.getBusinessPartner().getIdentifier());
       }
     }
     // Take payment date from the add transaction popup