December 2018
Beginner to intermediate
404 pages
10h 14m
English
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 name="request_date" /> <field name="member_id" /> <field name="checkout_date" /> <field name="stage_id" /> <field ...
Read now
Unlock full access