IDEMPIERE-5927 EMail Workflow fails when sending email using a System mail account (#2103)
This commit is contained in:
parent
aecc0e3e0a
commit
301ee9348b
|
@ -181,6 +181,9 @@ public class MAuthorizationAccount extends X_AD_AuthorizationAccount {
|
|||
setAccessToken(response.getAccessToken());
|
||||
setAccessTokenTimestamp(ts);
|
||||
setExpireInSeconds(new BigDecimal(response.getExpiresInSeconds()));
|
||||
if (getAD_Client_ID() == 0)
|
||||
saveCrossTenantSafeEx(); // sending a tenant email from a system account is possible
|
||||
else
|
||||
saveEx();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue