At this point, list views should need little introduction, but they still have some interesting additional attributes to be discussed.
In the library_checkout/views/checkout_view.xml file, we'll be replacing the basic list view created in Chapter 8, Business Logic - Supporting Business Processes, with this improved version:
<record id="view_tree_checkout" model="ir.ui.view">
<field name="name">Checkout Tree</field>
<field name="model">library.checkout</field>
<field name="arch" type="xml">
<tree
decoration-muted="state in ['done', 'cancel']"
decoration-bf="state=='open'"
>
<field name="state" invisible="True" />
<field...