IDEMPIERE-1219 Error message when saving 2 default Tax Rates are not translated.
This commit is contained in:
parent
2ab43bafcd
commit
9528b69977
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue