[ADD] add the rst file for font feature

bzr revid: sbh@tinyerp.com-20120419052644-nkczuqh4zfzftcee
This commit is contained in:
Sbh (Openerp) 2012-04-19 10:56:44 +05:30
parent 6ec0aeeae0
commit 303a168a3a
2 changed files with 23 additions and 0 deletions

22
doc/api/font_style.rst Normal file
View File

@ -0,0 +1,22 @@
Font style Feature
=====================
This revision adds font style feature in List view.
Font style feature can be used by List view able to define the style of fonts based on the state of records.
we can set the style of fonts bold , italic and underline by defining in the view.
Rng modification
+++++++++++++++++
This revision adds attribute fonts in view.rng
Addon implementation example
++++++++++++++++++++++++++++
In your ``foo`` module, you want to specify that when it is in state ``pending`` then fons of the record should bold in list view
::
<tree string="XYZ" fonts="bold:state=='pending'">

View File

@ -15,3 +15,4 @@ New feature merges
api/user_img_specs
api/need_action_specs
api/font_style