-
- Downloads
[FIX] web: avoid pushing state when ActionAdapter is in dialog
Previously, push_state events triggered from withing window actions
inside dialogs would bubble push their state into the URL even while
within a dialog, this is undesirable as this can cause the URL to become
invalid (eg by pushing the id of a record from an entirely different
model)
This commit fixes that by simply checking whether we are in a dialog
within the adapter before calling pushState.
task-2602458
closes odoo/odoo#73720
Signed-off-by:
Lucas Perais (lpe) <lpe@odoo.com>
Loading
Please register or sign in to comment