diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-05-22 13:00:22 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-05-22 13:00:22 +0200 |
| commit | 291eb111b39f6648c2096e8eb1f8f13ac6202ee8 (patch) | |
| tree | b2bcdd032f293073f5c3eb1857915592c607a5a5 /addons/website/static/src/js/website.editor.js | |
| parent | 06effa59193690c5b7a4502cb37d900a2e88b66a (diff) | |
[FIX] web: default loaded view on direct access/refresh
When loading an action using a specific url, with
a view_type different than the default view of the action
(e.g. Project > Project > Issues has as view order
kanban, list, calendar, form, graph, and try to load
this menu action from an url, but by specifying another view_type
than 'kanban', for instance, 'list'), the default loaded view was
always the first view, and then a switch was done to go to the view_list.
It caused issues when using a filter needing a field available in the list
view but not in the kanban view.
It also lead to an issue in the reporting, when trying to load a reporting
action with a view not being the first one of the action
(e.g. Reporting > Project > Issues Analysis, switch to the second view
'Graph', and then refresh -> Error).
This revision makes so the view from the view_type url arg is directly loaded.
opw-640289
Diffstat (limited to 'addons/website/static/src/js/website.editor.js')
0 files changed, 0 insertions, 0 deletions
