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:
@@ -226,7 +226,7 @@
|
||||
<record id="action_fl_deposition_list" model="ir.actions.act_window">
|
||||
<field name="name">Depositions</field>
|
||||
<field name="res_model">fl.deposition</field>
|
||||
<field name="view_mode">tree,calendar,form</field>
|
||||
<field name="view_mode">list,calendar,form</field>
|
||||
<field name="search_view_id" ref="view_fl_deposition_search"/>
|
||||
<field name="domain">[('state', 'not in', ['cancelled'])]</field>
|
||||
<field name="context">{'search_default_filter_pending': 1}</field>
|
||||
|
||||
Reference in New Issue
Block a user