From 65750fe2deb0ace8a9dcea227696cb186876062c Mon Sep 17 00:00:00 2001
From: Guewen Baconnier <guewen.baconnier@camptocamp.com>
Date: Wed, 7 Mar 2018 09:34:33 +0100
Subject: [PATCH] web_tree_dynamic_colored_field: correct options examples in
 readme

---
 web_tree_dynamic_colored_field/README.rst      | 9 +++++----
 web_tree_dynamic_colored_field/__manifest__.py | 2 +-
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/web_tree_dynamic_colored_field/README.rst b/web_tree_dynamic_colored_field/README.rst
index d661197cb..2b647f420 100644
--- a/web_tree_dynamic_colored_field/README.rst
+++ b/web_tree_dynamic_colored_field/README.rst
@@ -25,13 +25,13 @@ Features
 Usage
 =====
 
-* In the tree view declaration, put ``options='"bg_color": "red: customer==True"`` attribute in the ``field`` tag::
+* In the tree view declaration, put ``options='{"bg_color": "red: customer==True"}`` attribute in the ``field`` tag::
 
     ...
     <field name="arch" type="xml">
         <tree string="View name">
             ...
-            <field name="name" options='"bg_color": "red: customer == True"'/>
+            <field name="name" options='{"bg_color": "red: customer == True"}'/>
             ...
         </tree>
     </field>
@@ -39,13 +39,13 @@ Usage
     
     With this example, column which renders 'name' field will have its background colored in red.
 
-* In the tree view declaration, put ``options='"fg_color": "white:customer == True"'`` attribute in the ``field`` tag::
+* In the tree view declaration, put ``options='{"fg_color": "white:customer == True"}'`` attribute in the ``field`` tag::
 
     ...
     <field name="arch" type="xml">
         <tree string="View name">
             ...
-            <field name="name" 'options="fg_color": "white:customer == True"'/>
+            <field name="name" options='{"fg_color": "white:customer == True"}'/>
             ...
         </tree>
     </field>
@@ -90,6 +90,7 @@ Contributors
 * Damien Crier <damien.crier@camptocamp.com>
 * Holger Brunn <hbrunn@therp.nl>
 * Artem Kostyuk <a.kostyuk@mobilunity.com>
+* Guewen Baconnier <guewen.baconnier@camptocamp.com>
 
 Maintainer
 ----------
diff --git a/web_tree_dynamic_colored_field/__manifest__.py b/web_tree_dynamic_colored_field/__manifest__.py
index 665310b81..146c30dbe 100644
--- a/web_tree_dynamic_colored_field/__manifest__.py
+++ b/web_tree_dynamic_colored_field/__manifest__.py
@@ -4,7 +4,7 @@
     'name': 'Colorize field in tree views',
     'summary': 'Allows you to dynamically color fields on tree views',
     'category': 'Hidden/Dependency',
-    'version': '11.0.1.0.0',
+    'version': '11.0.1.0.1',
     'depends': ['web'],
     'author': "Camptocamp, Therp BV, Odoo Community Association (OCA)",
     'license': 'AGPL-3',