summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-03-20 08:45:52 +0100
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2018-03-20 09:36:51 +0100
commit4c692f1bb31766840ca3eca6a8e0faebd34cda1a (patch)
treeda164a5bd6d0541266c78f3c2074e15cca3aaa5d /addons/web/static/src/js
parentda1f153d61d747d9357694382fe04f96c0ca886a (diff)
[FIX] website_project{_issue}: redirect from email
- Create a portal user - Set an email address - Create a project with tasks / issues - Create a task / issue, set the portal user as follower => he should have access to the task from URL `/my/task/<id>`. - On an email received (e.g. when the user is set as follower), click on 'View Task' The user is redirected to the chatter instead of `/my/task/<id>` or `/my/issue/<id>`. In method, `_redirect_to_record`, the record is browsed as `sudo`. Therefore, in `get_access_action`, `self.env.user` is the admin. We check the context to get the original user. opw-1814577
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions