[MERGE] forward port branch 10.0 up to 388bf45853
This commit is contained in:
@@ -87,9 +87,8 @@ class MailController(http.Controller):
|
|||||||
record_sudo.sudo(uid).check_access_rule('read')
|
record_sudo.sudo(uid).check_access_rule('read')
|
||||||
except AccessError:
|
except AccessError:
|
||||||
return cls._redirect_to_messaging()
|
return cls._redirect_to_messaging()
|
||||||
|
if record_action['type'] == 'ir.actions.act_url':
|
||||||
if record_action['type'] == 'ir.actions.act_url':
|
return werkzeug.utils.redirect(record_action['url'])
|
||||||
return werkzeug.utils.redirect(record_action['url'])
|
|
||||||
|
|
||||||
url_params = {
|
url_params = {
|
||||||
'view_type': record_action['view_type'],
|
'view_type': record_action['view_type'],
|
||||||
|
|||||||
Reference in New Issue
Block a user