From 050d1ccba067fc45a5219e8380a92aeea3eb5104 Mon Sep 17 00:00:00 2001 From: hieplq Date: Tue, 3 Feb 2015 12:52:52 +0700 Subject: [PATCH] IDEMPIERE-1492:when login with Organization = *, run "Bank Transfer" make error "Fill mandatory fields: : Organization" mistake when set convertType for payment to --- org.adempiere.base/src/org/eevolution/process/BankTransfer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.base/src/org/eevolution/process/BankTransfer.java b/org.adempiere.base/src/org/eevolution/process/BankTransfer.java index a282f690d7..83374c1f7f 100644 --- a/org.adempiere.base/src/org/eevolution/process/BankTransfer.java +++ b/org.adempiere.base/src/org/eevolution/process/BankTransfer.java @@ -189,7 +189,7 @@ public class BankTransfer extends SvrProcess paymentBankTo.setC_BPartner_ID (p_C_BPartner_ID); paymentBankTo.setC_Currency_ID(p_C_Currency_ID); if (p_C_ConversionType_ID > 0) - paymentBankFrom.setC_ConversionType_ID(p_C_ConversionType_ID); + paymentBankTo.setC_ConversionType_ID(p_C_ConversionType_ID); paymentBankTo.setPayAmt(p_Amount); paymentBankTo.setOverUnderAmt(Env.ZERO); paymentBankTo.setC_DocType_ID(true);