details: https://code.openbravo.com/erp/devel/pi/rev/a9f9739e0a2a
changeset: 13679:a9f9739e0a2a
user: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
date: Fri Sep 09 09:11:11 2011 +0200
summary: Fixed bug 17949: Payment Out window is not working in the case of a
multicurrency payment out
diffstat:
src/org/openbravo/erpCommon/ad_callouts/SE_PaymentMethod_FinAccount.java | 3
+--
src/org/openbravo/erpCommon/ad_callouts/SE_Payment_FinAccount.java | 2
+-
2 files changed, 2 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 60405aa9fe81 -r a9f9739e0a2a
src/org/openbravo/erpCommon/ad_callouts/SE_PaymentMethod_FinAccount.java
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_PaymentMethod_FinAccount.java
Thu Sep 08 16:11:47 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_PaymentMethod_FinAccount.java
Fri Sep 09 09:11:11 2011 +0200
@@ -84,12 +84,11 @@
for (FinAccPaymentMethod accPm : obc.list()) {
if (srtSelectedFinancialAccount.equals(accPm.getAccount().getId())) {
isSelected = true;
- selectedPaymentMethod = accPm;
} else if (srtSelectedFinancialAccount.isEmpty()) {
srtSelectedFinancialAccount = accPm.getAccount().getIdentifier();
isSelected = true;
- selectedPaymentMethod = accPm;
}
+ selectedPaymentMethod = accPm;
info.addSelectResult(accPm.getAccount().getId(),
accPm.getAccount().getIdentifier(),
isSelected);
isSelected = false;
diff -r 60405aa9fe81 -r a9f9739e0a2a
src/org/openbravo/erpCommon/ad_callouts/SE_Payment_FinAccount.java
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Payment_FinAccount.java
Thu Sep 08 16:11:47 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Payment_FinAccount.java
Fri Sep 09 09:11:11 2011 +0200
@@ -61,7 +61,7 @@
info.addResult("inpfinaccTxnAmount", "");
}
- String finIsReceipt = info.getStringParameter("inpfinIsreceipt", null);
+ String finIsReceipt = info.getStringParameter("inpisreceipt", null);
boolean isPaymentOut = "N".equals(finIsReceipt);
String srtPaymentMethodId =
info.getStringParameter("inpfinPaymentmethodId",
------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT
space for its ease of implementation, lower cost, and increased
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits