summaryrefslogtreecommitdiff
path: root/addons/note/views
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2018-01-17 16:57:35 +0100
committerMartin Geubelle <mge@odoo.com>2018-03-14 09:38:23 +0100
commit7afc5fd6ad47e73c0ad1c8607203c0a958a3fa8b (patch)
tree006fb45f4744ec29dc16b91d043e9fbe054f4020 /addons/note/views
parent64d47c0bc5aef80b1f5b9bde8b195e0ba88df426 (diff)
[REF] *: put `clickable` in widget options for statusbar
The widget statusbar was using an attribute `clickable` on the field widget to define if the statusbar was clickable. This attribute is in fact not a field attribute but a widget option so it has been moved accordingly. Note that a retro-compatibility adapation is done in the field widget.
Diffstat (limited to 'addons/note/views')
-rw-r--r--addons/note/views/note_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/note/views/note_views.xml b/addons/note/views/note_views.xml
index 29adc15b64e..0ac37d8bf46 100644
--- a/addons/note/views/note_views.xml
+++ b/addons/note/views/note_views.xml
@@ -154,7 +154,7 @@
<field name="arch" type="xml">
<form string="Note" class="oe_form_nomargin o_note_form_view">
<header>
- <field name="stage_id" domain="[('user_id','=',uid)]" widget="statusbar" clickable="1"/>
+ <field name="stage_id" domain="[('user_id','=',uid)]" widget="statusbar" options="{'clickable': '1'}"/>
</header>
<sheet>
<field name="tag_ids" widget="many2many_tags" options="{'color_field': 'color'}" placeholder="Tags"/>