This module allows to customize modifiers on form and tree view nodes.
For example, it allows to make a field readonly, invisible or required.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Lets administrators customize form and list view fields without coding: make fields invisible, readonly, required, change widgets, hide selection values, and more, with rules that can exclude specific user groups.
This module adds a new screen called Custom Modifiers, found under the Settings menu. There, an administrator can create rules that change how fields behave in any Odoo view.
For each rule you choose the model(s) it applies to, whether it targets a field or an XPath, the field name, and the modifier to apply. Available modifiers include: Invisible, Invisible (List Views), Readonly, Required, Force Save, Hide Selection Item, Widget, Number of lines per page (List Views), and Optional. Some modifiers need an extra value (the key), for example the widget name, the number of lines, or the selection value to hide.
Rules can be limited to certain user groups through Excluded Groups: users in those groups will not see the change. Rules can also be archived (active flag) to turn them off without deleting them.
The changes are applied automatically when Odoo builds a view: the module adjusts the view structure and the field metadata, and hides the chosen selection values from dropdown lists. Caches are cleared whenever a rule is created, modified or deleted so the change takes effect immediately.
Regular users can only read the rules; only administrators (ERP managers) can create, edit or delete them.
Depends on
Menus it adds
Models and fields (3)
- base · extends an existing model
- ir.ui.view · extends an existing model
- web.custom.modifier · new modelkey, type_ (Type), active, modifier, model_ids, reference, excluded_group_ids
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.0Access to the module As system administrator, I go to Settings / Technical / User Interface / Custom Modifiers.
Requiered Field I create a new custom modifier.
The modifier is configured to make the field default_code of a product required.
After refreshing my screen, I go to the form view of a product.
I notice that the field default_code is required.
Hide selection item The module allows to hide an item (option) of a selection field.
The above example hides the type of address Other.
Beware that if the hidden option is already selected on a record, it will look as it was never set.
Therefore, this feature should only be used to hide options that are never used.
Force Save A new option Force Save is available.
This modifier may be used along with the Readonly modifier so that the field value is saved to the server.
Custom Widget It is possible to customize the widget used for a given field.
Number of lines per page (List Views) A new modifier is added to set the number of lines per page in list view.
In the following example, we set a limit of 20 sale order lines per page on a sale order form view.
Advanced Usage In the field Type, I can select Xpath. This allows to set a modifier for a specific view node, such as a button.
The example above hides the a button in the form view of a product.
Excluded Groups A new field Excluded Groups is available.
If at least one group of users is selected, the modifier is not applied for users that are member of any of these groups.
This is useful when rendering an element readonly or invisible only for a subset of users.
Optional Since the version 14.0.2.0.1, it is possible to customize the optional of a given field on a tree view.
The Optional modifier takes 2 possible keys:
- show : To make the field displayed by default in the tree view.
- hide : To make the field hidden by default in the 3 dots of a tree view.
> [!IMPORTANT] > The field must be present by default on the tree view and displayed.
Example:
As system administrator, I go to Settings / Technical / User Interface / Custom Modifiers.
I add the field name (labelled as Number in Quotation List View) of the model sale.order.
I select the modifier Optional and then set the key show.
I go to the Quotation List View and notice that the field is now shown by default and that it is possible to hide it.
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.