I have a decorator in odoo for warehouse_id mapping, here is an example
<field name="warehouse_id" widget="badge"
decoration-success="warehouse_id == '1'"
decoration-info="warehouse_id == '5'"
decoration-primary="warehouse_id == '9'"/>
the question is how to use decoration other than the colors in bootstrap? thanks