diff options
| author | Thibault Delavallée <tde@odoo.com> | 2017-07-27 13:14:26 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-08-16 11:13:11 +0200 |
| commit | aab6bdd54a11cb8bdb19746a9861776d3be622a6 (patch) | |
| tree | d4881f0d4c3e16f7c5d1c8fc65a6d9ff31321792 /addons/web/static/src/js/views/basic/basic_view.js | |
| parent | 3207c7226f35a598e1f34a6f406c40cf69b60f48 (diff) | |
[FIX] mail, website_(blog/forum/slides): correctly redirect users on backend/frontend
/mail/view controller is a generic controller that redirects to a view
on a document either on backend or frontend depending on the module,
user and some model specific conditions.
However currently url computation is not always correct as you may end
up on frontend view even when you are a regular user that should land
on backend views.
In this stable version we introduced a key in the returned action that
indicates the action is a pure front-end (public) action or not. This
way people are correctly redirected to the backend or the frontend
when going through the controller.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions
