summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2012-05-04 09:38:32 +0200
committerThibault Delavallée <tde@openerp.com>2012-05-04 09:38:32 +0200
commit42e23fd7592ce164d6a32f8427cf56ddc481b962 (patch)
tree20e2e5f74764043386400bbbe109072fa1555d15 /doc/api
parent9a0cf94c75ea5d4889a3dfe0b70498e63643f097 (diff)
[MV] Moved font_style from API to revisions.
bzr revid: tde@openerp.com-20120504073832-xmp4dyus3pre44tb
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/font_style.rst28
1 files changed, 0 insertions, 28 deletions
diff --git a/doc/api/font_style.rst b/doc/api/font_style.rst
deleted file mode 100644
index f47a654aa34..00000000000
--- a/doc/api/font_style.rst
+++ /dev/null
@@ -1,28 +0,0 @@
-Font style in list views
-========================
-
-.. versionadded:: 7.0
-
-This revision adds font styles in list views. Before this revision it was
-possible to define some colors in list view. This revision allows to define
-the a font style, based on an evaluated Python expression. The definition syntax is
-the same than the colors feature. Supported styles are bold, italic and
-underline.
-
-Rng modification
-+++++++++++++++++
-
-This revision adds the ``fonts`` optional attribute in ``view.rng``.
-
-Addon implementation example
-++++++++++++++++++++++++++++
-
-In your ``foo`` module, you want to specify that when any record is in ``pending``
-state then it should be displayed in bold in the list view. Edit your foo_view.xml
-file that define the views, and add the fonts attribute to the tree tag.
-
-.. code-block:: xml
-
- <tree string="Foo List View" fonts="bold:state=='pending'">
- [...]
- </tree>