IDEMPIERE-1492:when login with Organization = *, run "Bank Transfer" make error "Fill mandatory fields: : Organization"

mistake when set convertType for payment to
This commit is contained in:
hieplq 2015-02-03 12:52:52 +07:00
parent c8004908e4
commit 050d1ccba0
1 changed files with 1 additions and 1 deletions

View File

@ -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);