1 Font style in list views
2 ========================
6 This revision adds font styles in list views. Before this revision it was
7 possible to define some colors in list view. This revision allows to define
8 the a font style, based on an evaluated Python expression. The definition syntax is
9 the same than the colors feature. Supported styles are bold, italic and
15 This revision adds the ``fonts`` optional attribute in ``view.rng``.
17 Addon implementation example
18 ++++++++++++++++++++++++++++
20 In your ``foo`` module, you want to specify that when any record is in ``pending``
21 state then it should be displayed in bold in the list view. Edit your foo_view.xml
22 file that define the views, and add the fonts attribute to the tree tag.
26 <tree string="Foo List View" fonts="bold:state=='pending'">