upgrade-view-mode-tree (U1802)#
An action’s view_mode says tree, renamed list in Odoo 18.0.
Applies to Odoo 18.0 and later.
What it does#
Reports tree in the view_mode of window actions and their views, and in
binding_view_types.
Why is this bad?#
Odoo 18.0 renamed the view type. An ir.actions.act_window.view with tree
fails to install; a window action with tree in its view_mode fails when
it is opened.
Fix safety#
Safe: tree becomes list.