oco-odoo
authored
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.
Name | Last commit | Last update |
---|---|---|
.. | ||
_extensions | ||
_static | ||
cla | ||
howtos | ||
images | ||
reference | ||
setup | ||
webservices | ||
Makefile | ||
conf.py | ||
glossary.rst | ||
index.rst | ||
python3.rst | ||
reference.rst | ||
requirements.txt | ||
setup.rst | ||
tutorials.rst | ||
webservices.rst |