diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2018-02-20 18:03:24 +0100 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2018-02-21 13:39:25 +0100 |
| commit | e2280783a2223a0cf328de92fdb9737508a59954 (patch) | |
| tree | 46e96efc830d93408f370fde73fc7cac822fba5b /addons/web/static/src/js/views/basic | |
| parent | 005614ef727f826a0d49d2da888d49eb2221b3b3 (diff) | |
[FIX] mail: no view edit on forum link in notif
When sending notification from the frontend, if a template is rendered
for it and the user has the group "website.group_website_publisher" he
will get inherit_branding adding on elements things like:
data-oe-id="42" data-oe-model="ir.ui.view" data-oe-field="arch"
but the chatter system has feature automatically redirecting an element
that have attribute "data-oe-id": this caused for example that a
link notification towards the forum would instead be redirecting to
editing the view of the notification.
This fix distinguish the inherit_branding in the chatter feature and
ignore them.
opw-813333
closes #23225
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
