diff --git a/org.adempiere.base/src/org/compiere/model/MMailText.java b/org.adempiere.base/src/org/compiere/model/MMailText.java index ada28c96c6..f9d11e730b 100644 --- a/org.adempiere.base/src/org/compiere/model/MMailText.java +++ b/org.adempiere.base/src/org/compiere/model/MMailText.java @@ -216,6 +216,10 @@ public class MMailText extends X_R_MailText */ private String parseVariable (String variable, PO po) { + if (variable.contains("<") && variable.contains(">")) { // IDEMPIERE-3096 + return Env.parseVariable("@"+variable+"@", po, get_TrxName(), true); + } + // special default formatting cases for dates/times/boolean in mail text not covered by Env.parseVariable int index = po.get_ColumnIndex(variable); if (index == -1){ StringBuilder msgreturn = new StringBuilder("@").append(variable).append("@");