Skip to content
Snippets Groups Projects
Commit 04a60048 authored by Aaron Bohy's avatar Aaron Bohy
Browse files

[FIX] web: remove lazyloaded controller from stack


... if the current action can't be executed.

Let's assume a form view for a record with a multicompany ir.rule.
If the user switches to another company, the webclient is reloaded,
but he doesn't have access to that record anymore. In this case,
he is redirected to the Home menu.

Before this rev., when he clicked on an app in this situation, it
crashed. This was due to a leftover reference of the failed action
(the lazyloaded, multi-record controller) in the controller stack.

closes odoo/odoo#34994

Signed-off-by: default avatarVincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
parent e266c7c9
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment