IDEMPIERE-4664 Cross tenant issue sending email with a System template (#543)

This commit is contained in:
Carlos Ruiz 2021-01-22 06:16:36 +01:00 committed by GitHub
parent 96393d2356
commit 6c9e957e81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -67,7 +67,6 @@ public class MUserMail extends X_AD_UserMail
public MUserMail (MMailText parent, int AD_User_ID, EMail mail) public MUserMail (MMailText parent, int AD_User_ID, EMail mail)
{ {
this (parent.getCtx(), 0, parent.get_TrxName()); this (parent.getCtx(), 0, parent.get_TrxName());
setClientOrg(parent);
setAD_User_ID(AD_User_ID); setAD_User_ID(AD_User_ID);
setR_MailText_ID(parent.getR_MailText_ID()); setR_MailText_ID(parent.getR_MailText_ID());
setSenderAndRecipient(mail); setSenderAndRecipient(mail);