After having spent quite some time on the form view, we'll now take a quick look at how to define list views. Internally, they are called tree views in some places and list views in others, but given that there is another construction within the Odoo view framework called tree, we'll stick to the wording list here.
List views
How to do it...
- Define your list view:
<record id="tree_all_customers" model="ir.ui.view">
<field name="model">res.partner</field>
<field name="arch" type="xml">
<tree decoration-bf="customer"
decoration-danger="supplier"
decoration-warning="customer...