diff options
| author | Aaron Bohy <aab@odoo.com> | 2018-03-19 15:14:42 +0100 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2018-03-23 09:02:49 +0100 |
| commit | 2a6ff8f8e47874151c45352f31b8206b3fab9456 (patch) | |
| tree | eef5f238c446fddd863937af36b7ba6cb3fc0f83 /addons/web/static/src/less | |
| parent | ee0605f405a84439bc71fde3f6bdc2da427ec774 (diff) | |
[IMP] web: ActionManager: load window actions without id
Actions can be loaded from the state of the url (e.g. when pressing
F5). For window actions, it was working properly if the action id
or a record id (i.e. for form views) was given. In other words,
states like 'model=res.partner&view_type=kanban' couldn't be
loaded.
This can be explained by the fact that without an action id, the
context and domain of the action couldn't be obtained.
This rev. solves this problem by storing the current action into
the sessionStorage, so that important information like context,
domain and name can be retrieved if this action has to be restored
(i.e. if the user refreshes the page).
Diffstat (limited to 'addons/web/static/src/less')
0 files changed, 0 insertions, 0 deletions
