summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authoroco-odoo <oco@odoo.com>2018-06-08 15:20:49 +0200
committerGitHub <noreply@github.com>2018-06-08 15:20:49 +0200
commitd4cd8be48f83a7775c667bc6c968a4b9e14679be (patch)
tree9185c59636525a98292e31112ca00152c0db4fb3 /setup
parenta8aa0bcbbe48babe877e08d81e5bdcc9e5779fdc (diff)
[IMP] web: add decoration support for all field widgets (#25160)
It is sometimes useful to be able to customize slightly the color of a field depending on some conditions on the current record. For example, imagine that we want to show a VAT number field in green/red, if it was validated or not. To do that, we can add a field with an onchange, and simply add decoration-danger and decoration-success attributes to the field.
Diffstat (limited to 'setup')
0 files changed, 0 insertions, 0 deletions