diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2016-01-29 11:26:13 +0100 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2016-01-29 12:08:24 +0100 |
| commit | f5fedbcb18a57ee9aeab952f3ff95f692f7a863c (patch) | |
| tree | 5e560944425ccb8ebbed5fd5d1afa512b97224b9 /addons/web/static | |
| parent | 1414d60b7b5856ed1c0cdced0218371d662154f5 (diff) | |
[FIX] mail, portal_sale: conserve action in /mail/view
Methods get_formview_action can be called by sudo() so for knowing the
real user they should prefer context['uid'] to uid.
Without the action `/web` can't figure out that e.g the view we want is
the one for portal user and not the default one.
With this fix, portal user (not in base.group_user) get to the intended
view with the intended menu when clicking on a invoice/sale order portal
mail link. As for other user there is no change.
closes #10681
opw-666260
Diffstat (limited to 'addons/web/static')
0 files changed, 0 insertions, 0 deletions
