| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 9 |
| Technical Name |
ad_required_field_icon |
| License | LGPL-3 |
| Website | https://adreaminnovations.odoo.com |
| Versions | 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 9 |
| Technical Name |
ad_required_field_icon |
| License | LGPL-3 |
| Website | https://adreaminnovations.odoo.com |
| Versions | 17.0 18.0 19.0 |
Required Field Asterisk Icon
Restore high-contrast, visual cues to Odoo form views. Display clear red asterisks next to mandatory fields automatically to streamline data entry, prevent validation errors, and boost team productivity.
Eliminate saving errors and speed up data entry
In Odoo 18, required fields are indicated by extremely subtle visual indicators (such as faint background shading). Without clear, high-contrast markers like the traditional red asterisk (*), data entry operators and staff are left guessing which inputs are mandatory.
This results in a frustrating workflow: users attempt to save a record, only to be blocked by Odoo's validation errors prompting them to fill in the missing fields. This back-and-forth disrupts focus, slows down transaction processing, and increases operational costs.
The Required Field Asterisk Icon module restores the globally recognized red asterisk (*) next to form labels. By integrating directly into Odoo's form rendering engine, it instantly highlights mandatory fields, allowing users to capture data accurately on the first attempt.
Key Business Value
- Enhanced Data Integrity: Ensure critical data (e.g. tax IDs, billing address, or vendor terms) is never omitted before a form is saved.
- Higher Operator Efficiency: Allow data entry operators to scan and fill forms sequentially without encountering unexpected validation popups.
- Reduced Training Time: Leverage the universally understood red asterisk symbol, eliminating the need to train users on Odoo's default styling.
- Clean User Experience: Provide clear visual contrast that guides the eye directly to critical form fields.
Key Features & UI Enhancements
A lightweight, plug-and-play user interface upgrade designed to enhance usability without modifying your underlying database structure.
High-Contrast Indicators
Automatically appends a high-contrast red asterisk (*) next to every required field's label in Odoo form views.
Universal Application
Applies to all standard Odoo models (Contacts, CRM, Sales, Purchases, Accounting) as well as custom models created via code or Odoo Studio.
Plug-and-Play Setup
Zero post-installation configurations needed. Install the app, and required fields across your database are immediately styled.
Optimized UI Rendering
Leverages native CSS and Odoo OWL XML inheritance. It does not introduce JavaScript delays or interfere with the web client performance.
Clean Native Extension
Extends Odoo's standard FormLabel template. Safe from breaking changes and fully compatible with Odoo Enterprise and Community.
Theme Consistency
Styling rules fit seamlessly within Odoo's design, ensuring the asterisks look like a native part of the user interface.
Technical Implementation
The module enhances standard Odoo web client assets using clean inheritance principles:
- FormLabel Extension: Inherits the Odoo core QWeb template `web.FormLabel` and injects a span with the class `.required-field-marker` only when the field's required state is true.
- CSS Styling Rules: Uses non-obtrusive, optimized CSS selectors (`.required-field-marker`, `.o_required_modifier.text-break::before`) to color and scale the asterisk icon.
- Performance Integrity: Since the logic runs client-side inside standard label rendering, it bypasses any database reads or server round-trips.
Usability & Accessibility
Designed with accessibility guidelines to ensure Odoo remains usable for all operators:
- High Contrast Red: The red color is selected to stand out clearly against both light and dark Odoo backgrounds.
- Explicit Association: Positioning the asterisk directly after the label text ensures standard visual association.
- Studio Support: If you mark a field as required using Odoo Studio, the asterisk appears automatically without writing code.
- Adaptive Layouts: Visual markers wrap cleanly and do not break Odoo's grid alignment or responsive design on mobile web browsers.
Interface Preview
Universal Form Indicators
Once installed, Odoo forms immediately display clear red asterisks (*) for required inputs. This makes it instantly obvious which fields are mandatory, preventing submit blocks and speeding up daily data workflows.
Quick Setup Guide
1. Add to Addons
Download and copy the `ad_required_field_icon` module directory to your custom Odoo addons path.
2. Update Apps
Enable Developer Mode in Odoo, head to the Apps module, and click "Update Apps List" from the menu.
3. Install App
Search for "Required Field Asterisk Icon" in the app store list and click the "Activate" button.
4. Verify Forms
Open any document form (e.g. Sales, Contacts, Invoices) to see the red asterisks live in action.
Need Odoo customization or integration support?
ADream Innovations provides consulting, design, and engineering services for businesses using Odoo. We assist with custom Odoo Development, Odoo Customization, and full Odoo Implementation setups. We also help build custom API Integrations and eCommerce Integrations to connect Odoo with your existing workflows.
If you need a professional ERP Consulting evaluation of your processes or require Long-Term Odoo Support, contact our team to discuss your project requirements.
Developed by ADream Innovations under standard LGPL-3 licensing. For software updates, bug reports, or consulting inquiries, contact us.
Email: info@adream-innovation.odoo.com
Website: https://adreaminnovations.odoo.com
Please log in to comment on this module