Required Field Highlight
Mark required fields in every form, dialog and editable list row with an asterisk and a coloured frame that shouts while the field is empty and calms down once you fill it in.
| Odoo | 16.0, 17.0, 18.0, 19.0, 20.0 |
| Editions | Community, Enterprise |
| Works with | Base and Web (Settings page needs the standard Base Setup) |
| Licence | LGPL-3, free |
| Tests | 5 automated, run on every version |
| Module | required_ |
The situation
A new quotation looks complete until you click Save and the red notice says Customer is missing. On the order lines it is worse: Description is only required while the line is a normal product line, so the cell gives no hint until the row is validated. Odoo shows required fields with a thin coloured line under the input, and many people never notice it.
With this module the label of every required field gets an asterisk, and the field itself gets a red frame and a light tint as long as it is empty. Fill it in and the frame goes, leaving only a faint asterisk. The check runs on the live record, so a field that becomes required through a stage, a state or a required= expression is marked the moment the condition turns true.
What it adds
Getting started
Open Apps, clear the Apps filter, search for Required Field Highlight and click Activate. It needs Base, Web and Base Setup, which every database has.
Apps › required_field_marker › Activate
Go to Settings, scroll to Required Fields and choose the default Style and Colour. Users change their own look under their name > Preferences, in the Required Field Style and Required Field Colour fields. The change applies after the next page reload.
Settings › General Settings › Required Fields
Nothing changes in the daily flow. Open a form and the empty required fields stand out; fill them and the marker fades. The Preferences dialog holds the personal style and colour.
Fine print
Log
Can the empty-field colour follow our brand colour?
Yes, set any hex colour in Settings or in each user's Preferences; tell us if you need a different rule.
Email odoo.expert.111@gmail.com
Please log in to comment on this module