IDEMPIERE-3096 Use indirect context for mail signatures
This commit is contained in:
parent
96f2838b06
commit
a7ce6b29ac
|
@ -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("@");
|
||||
|
|
Loading…
Reference in New Issue