IDEMPIERE-5261 Workflow EMail notification enhancement (#2104)
- Add @_noDocInfo_@ also in body
This commit is contained in:
parent
301ee9348b
commit
9794357e84
|
@ -1822,7 +1822,7 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable
|
||||||
raw = text.getMailText(true, false);
|
raw = text.getMailText(true, false);
|
||||||
if (raw != null && (raw.contains("@=DocumentInfo") || raw.contains("@=documentInfo")
|
if (raw != null && (raw.contains("@=DocumentInfo") || raw.contains("@=documentInfo")
|
||||||
|| raw.contains("@=Summary") || raw.contains("@=summary") || raw.contains("@_noDocInfo_@")))
|
|| raw.contains("@=Summary") || raw.contains("@=summary") || raw.contains("@_noDocInfo_@")))
|
||||||
message = text.getMailText(true);
|
message = text.getMailText(true).replaceAll("@_noDocInfo_@", "");
|
||||||
else
|
else
|
||||||
message = text.getMailText(true)
|
message = text.getMailText(true)
|
||||||
+ "\n-----\n" + doc.getDocumentInfo()
|
+ "\n-----\n" + doc.getDocumentInfo()
|
||||||
|
|
Loading…
Reference in New Issue