From de995e8c2be155ab5716fbc9fd41dcf4ebd13121 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 1 Apr 2009 06:38:52 +0000 Subject: [PATCH] [1762461] - Remove hardcoded list items checking in generated models Fix problem completing cash journal with bank transfer --- base/src/org/compiere/model/MCash.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/src/org/compiere/model/MCash.java b/base/src/org/compiere/model/MCash.java index c7faedcdb9..5274adb60c 100644 --- a/base/src/org/compiere/model/MCash.java +++ b/base/src/org/compiere/model/MCash.java @@ -509,8 +509,8 @@ public class MCash extends X_C_Cash implements DocAction String documentNo = getName(); pay.setDocumentNo(documentNo); pay.setR_PnRef(documentNo); - pay.set_Value("TrxType", "X"); // Transfer - pay.set_Value("TenderType", "X"); + pay.set_ValueNoCheck("TrxType", "X"); // Transfer + pay.set_ValueNoCheck("TenderType", "X"); // //Modification for cash payment - Posterita pay.setC_CashBook_ID(getC_CashBook_ID());