From 9528b69977aeacb9ec3139c4ca951b55c7f5add7 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Thu, 15 Aug 2013 14:45:32 +0800 Subject: [PATCH] IDEMPIERE-1219 Error message when saving 2 default Tax Rates are not translated. --- org.adempiere.base/src/org/compiere/model/MTax.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.base/src/org/compiere/model/MTax.java b/org.adempiere.base/src/org/compiere/model/MTax.java index 2121ee92f6..579813968d 100644 --- a/org.adempiere.base/src/org/compiere/model/MTax.java +++ b/org.adempiere.base/src/org/compiere/model/MTax.java @@ -289,7 +289,7 @@ public class MTax extends X_C_Tax .setOnlyActiveRecords(true) .list(); if (list.size() >= 1) { - log.saveError("Error", Msg.parseTranslation(getCtx(), "Only one @C_Tax_ID@ per @C_TaxCategory_ID@ can be marked as Default!")); + log.saveError("Error", Msg.parseTranslation(getCtx(), Msg.getMsg(Env.getCtx(),"OnlyOneTaxPerCategoryMarkedDefault"))); return false; } }