-
- Downloads
[FIX] event: do not suggest public user email in registration chatter
Chatter suggests to include recipients on several objects, notably on registrations. When a registration is done through a public interface like website in website_event associated partner is the public user. In that case proposing to mail the public user does not make sense. It should propose the real email stored on the registration record. To fix that we filter the partner if it is linked to the pubic groups. The fix includes a sudo + context switch in a loop. As this method is called only on a recordset of one element this has no impact on real use case. Purpose is to keep the diff minimal. Closes #23187 .
Please register or sign in to comment