Fix act_window view_mode 'tree' → 'list' (Odoo 18 client error)

Earlier <tree>→<list> pass missed the ir.actions.act_window.view_mode field.
Clicking the Family Law Cases menu raised "View types not defined tree found
in act_window action 549" in the Odoo 18 client.

Updated all 17 view_mode declarations across 12 view files (tree→list,
preserves kanban/calendar/form pieces).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-30 21:21:15 +00:00
parent 13cf3fe201
commit a8c72adbc7
12 changed files with 16 additions and 16 deletions

View File

@@ -54,13 +54,13 @@
<record id="action_fl_statute_list" model="ir.actions.act_window">
<field name="name">FL Statute Index</field>
<field name="res_model">fl.statute</field>
<field name="view_mode">tree,form</field>
<field name="view_mode">list,form</field>
</record>
<record id="action_fl_issue_tag_list" model="ir.actions.act_window">
<field name="name">Issue Tags</field>
<field name="res_model">fl.issue.tag</field>
<field name="view_mode">tree,form</field>
<field name="view_mode">list,form</field>
</record>
</data>