diff options
| author | Jorge Pinna Puissant <jpp@odoo.com> | 2019-01-03 11:16:30 +0000 |
|---|---|---|
| committer | Jorge Pinna Puissant <jpp@odoo.com> | 2019-01-03 11:16:30 +0000 |
| commit | 8ac1cdde2e5ce941d2963581b8f4271f038983da (patch) | |
| tree | 619638ade45bcf987427908b9f983c7dfdf563c3 /addons/web_editor/static/src/js/editor/transcoder.js | |
| parent | d331d28fdf6501d51550c791c81d837bb0c2cc4e (diff) | |
[FIX] web_planner: prepare_backend_url give a bad URL
opw-1920590
Before this commit, the function prepare_backend_url forced in the url
the view_type 'form'. This occurs because a misunderstand between the
fields ir.actions.act_window.view_type (That indicate if an hierarchy
in the view list exists, with as possible values : form and tree, which
can be mistaken as views types) and ir.actions.act_window.view_mode
(which is a list of allowed views).
Now, if not ask otherwise, the function give the url of the first
(the default) allowed view; or one of the allowed view if asked for it.
closes odoo/odoo#29882
Diffstat (limited to 'addons/web_editor/static/src/js/editor/transcoder.js')
0 files changed, 0 insertions, 0 deletions
