Web Field Required Invisible Readonly Managerr
This module allows to set a field required, invisible or readonly for users belonging to a specific group.
The field can be required, invisible or readonly in any case, or according to specific conditions.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Lets administrators make any field required, invisible or readonly for specific user groups, optionally only when a condition is met. Rules are managed from a dedicated menu and applied automatically in forms and lists.
This module gives administrators a central place to control how fields behave for different users, without writing code.
- Create rules on the
custom.field.restrictionmodel from the new Fields Restrictions menu (under Settings). There are separate entries for Required Fields, Invisible Fields, Readonly Fields and All Fields Restrictions. - Each rule picks a field, the model it belongs to, one or more user groups, and optionally a condition (a domain) that must be true for the rule to apply.
- Rules can also be created directly from a model's form: the model configuration screen gains tabs for Custom Required Fields, Custom Invisible Fields and Custom Readonly Fields.
- When a rule is saved, the module automatically creates a hidden technical boolean field on the target model and rewires the form or list view so the chosen field becomes required, hidden or locked for members of the selected groups.
- The behaviour is recalculated per user and per record, so the same field can be mandatory for one team and optional for another, or only mandatory when the record matches the condition.
- Restrictions also propagate to related records shown inside a form (for example lines of an order), so nested lists follow the same rules.
- Only system administrators can create, change or delete rules; other users can only read them.
Depends on
Menus it adds
Models and fields (4)
- base · extends an existing model
- ir.model · extends an existing modelcustom_readonly_restriction_ids, custom_required_restriction_ids, custom_invisible_restriction_ids
- ir.ui.view · extends an existing model
- custom.field.restriction · new modelfield_id (Field), required, group_ids, field_name (Field Name), model_name (Model Name), field_readonly, field_invisible, condition_domain, default_required (Required by Default), readonly_field_id, readonly_model_id (Model (readonly)), required_field_id, required_model_id (Model (required)), invisible_model_id (Model (visibility)), visibility_field_id
Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/web.
terminal Installation and usage
OCA documentation · Odoo 14.0Usage
Source · Odoo 14.0Go to Settings > Technical > Models
Select a model > in tab "Custom required fields", "Custom invisible fields" or "Custom readonly fields" add a line
Select a field, add one or more group and enable flag "Required", "Invisible" or "Readonly"
If needed, set a condition for which the field should be required, invisible or readonly for users of those groups.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.