Add new options to README

pull/120/head
David Coninckx 2015-03-31 12:00:46 +02:00 committed by Emanuel Cino
parent 77b84341d8
commit 328f9736ee
1 changed files with 13 additions and 1 deletions

View File

@ -47,6 +47,18 @@ New option
Number of displayed record in drop-down panel
``field_color`` *string*
A string to define the field used to define color.
This option has to be used with colors.
``colors`` *dictionary*
A dictionary to link field value with a HTML color.
This option has to be used with field_color.
ir.config_parameter options
---------------------------
@ -79,7 +91,7 @@ Example
Your XML form view definition could contain::
...
<field name="partner_id" options="{'limit': 10, 'create': false, 'create_edit': false}"/>
<field name="partner_id" options="{'limit': 10, 'create': false, 'create_edit': false, 'field_color':'state', 'colors':{'active':'green'}}"/>
...
Note