summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2020-04-29 07:21:34 +0000
committerAaron Bohy <aab@odoo.com>2020-05-05 08:48:34 +0000
commit1d6e4948d2e8534379b6815e931a6eaa58955e18 (patch)
tree587a061ffa02f6797383b26b020139d61bb3fde5 /addons/web/static/src/xml/base.xml
parent56787d587858760355e6703f1afce54a66f7800f (diff)
[IMP] web: add BadgeField component
This new field component displays the field's value inside a bootstrap pill badge. Supported field types are 'char', 'selection' and 'many2one'. The background color of the badge can be customized by using the decoration-xxx mechanism, e.g. <field name="state" decoration-danger="state == 'cancel'" widget="badge"/> Part of task 2195254
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions