summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2018-03-20 11:48:06 +0100
committerMartin Geubelle <mge@odoo.com>2018-03-20 13:49:32 +0100
commit75d9a2b4db9fbad00114832186b7d4e3983124ba (patch)
tree885d621d1b04c80bfd2e23db70632edcb8622754 /addons/web/static/src/js/views/basic/basic_controller.js
parentc3b49b3a5fec204a62c4a6741c6e7bf71c1bee55 (diff)
[FIX] web: correctly display statusbar
Some status were shown in the statusbar even though they were not specified in the `statusbar_visible` attribute. This happened when the value was a substring of one specified value. Example: ``` hello = fields.Selection([('hello', 'Hello'), ('hello_world', 'Hello World')]) <field name='hello' widget='statusbar' statusbar_visible='hello_world'/> ``` In this case, both status were shown ('hello' is a substring of 'hello_world'). Fixes #20034
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions