Skip to content

Commit

Permalink
Merge pull request #82 from acsone/18.0-imp-views-mle
Browse files Browse the repository at this point in the history
[FIX] Version 18 ir.actions.act_window: use list
  • Loading branch information
sbidoul authored Sep 19, 2024
2 parents 3d1a5f0 + 80aefa2 commit 1d848e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<record model="ir.actions.act_window" id="{{{ model.name_underscored }}}_act_window">
<field name="name">{{{ model.name_camelwords }}}</field> <!-- TODO -->
<field name="res_model">{{{ model.name_dotted }}}</field>
<field name="view_mode">tree,form</field>
<field name="view_mode">{{% if odoo.version<18 %}}tree{{% else %}}list{{% endif %}},form</field>
<field name="domain">[]</field>
<field name="context">{}</field>
</record>
Expand Down

0 comments on commit 1d848e7

Please sign in to comment.