IDEMPIERE-1219 Error message when saving 2 default Tax Rates are not translated.

This commit is contained in:
Heng Sin Low 2013-08-15 14:45:32 +08:00
parent 2ab43bafcd
commit 9528b69977
1 changed files with 1 additions and 1 deletions

View File

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