summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorJairo Llopis <yajo.sk8@gmail.com>2018-02-20 12:40:58 +0000
committerThibault Delavallée <tde@odoo.com>2018-06-12 15:42:40 +0200
commitce6b6e64588f8ba22bd7eb29651d862f43850b17 (patch)
treef2c8ea1bd6cc375cefd1b98075c08d66a92beabb /addons/web/static/src/js/views/basic
parent375bff66190cb84d88b9d398e6d4547a89feb2dd (diff)
[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 .
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions