summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2016-07-27 18:13:51 +0200
committerChristophe Simonis <chs@odoo.com>2016-07-27 18:13:51 +0200
commit7079a0be308ab908e46b0d4cb9a86617dbcb9c85 (patch)
tree4be2e1dca89fc298c8df682bc56edfb018b17b71 /doc/reference
parent7df4ea5b57412bd2e8623de1701c0d75175878cb (diff)
parent8ceb9438d13cc4b947d70b629552d0d9c5f57fa4 (diff)
[MERGE] forward port branch 8.0 up to 8ceb943
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/guidelines.rst2
-rw-r--r--doc/reference/views.rst7
2 files changed, 3 insertions, 6 deletions
diff --git a/doc/reference/guidelines.rst b/doc/reference/guidelines.rst
index 17e50fe89ae..fa62b8cb147 100644
--- a/doc/reference/guidelines.rst
+++ b/doc/reference/guidelines.rst
@@ -129,7 +129,7 @@ When declaring a record in XML,
<field name="arch" type="xml">
<tree>
<field name="my_field_1"/>
- <field name="my_field_2" string="My Label" widget="statusbar" statusbar_visible="draft,sent,progress,done" statusbar_colors='{"invoice_except":"red","waiting_date":"blue"}' />
+ <field name="my_field_2" string="My Label" widget="statusbar" statusbar_visible="draft,sent,progress,done" />
</tree>
</field>
</record>
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index c0e639eb9ac..30d708f76bb 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -366,7 +366,7 @@ system. Available semantic components are:
.. todo:: list of widgets
& options & specific attributes (e.g. widget=statusbar
- statusbar_visible statusbar_colors clickable)
+ statusbar_visible clickable)
``options``
JSON object specifying configuration option for the field's widget
(including default widgets)
@@ -505,13 +505,10 @@ The states are shown following the order used in the field (the list in a
selection field, etc). States that are always visible are specified with the
attribute ``statusbar_visible``.
-``statusbar_colors`` can be used to give a custom color to specific states.
-
::
<field name="state" widget="statusbar"
- statusbar_visible="draft,sent,progress,invoiced,done"
- statusbar_colors="{'shipping_except':'red','waiting_date':'blue'}"/>
+ statusbar_visible="draft,sent,progress,invoiced,done" />
The Sheet
'''''''''