Try Live Demo Before You Buy
Experience this module live in our pre-configured backend environment.
demo
Password: demo
Many2one Options Cleaner
Hide "Create..." & "Create and Edit..." Dropdown Options Globally in Odoo 19 Based on User Permissions
Stop users from accidentally cluttering your database with duplicate master data.
Control Many2one dropdown creation entries application-wide via a single security groupâzero XML view modifications required!
Why Unrestricted "Quick Create" Destroys Data Quality
By default, Odoo allows any user with write access on a form to quickly create new customers, products, or categories directly from a Many2one dropdown. This leads to duplicate records, misspelled master data, and endless cleaning work for data managers. Many2one Options Cleaner locks down these creation links globally, allowing only authorized managers to create new master records.
DEMO WATCH NOW
Key Features & Capabilities
Simple, non-intrusive, and high-performance master data protection for your Odoo deployment.
Global Dropdown Cleaning
Automatically removes "Create..." and "Create and Edit..." entries across all Many2one fields in every module without modifying any XML view files.
Role-Based Access Control
Controlled via a dedicated security group: Allow Create Options on Many2one Fields. Granted to system administrators by default, easily assignable to trusted users.
Zero Performance Overhead
The user permission check is attached directly to Odoo's session_info, cached in the web client payload with zero extra server RPC requests when opening dropdowns.
Non-Intrusive Integration
Respects existing view attributes! If a field explicitly sets options="{'no_create': True}", those restrictions remain intact for all users.
How It Works Under The Hood
A clean JS client patch combined with server-side security checks in Odoo 19 OWL.
Technical Architecture
| Component | Implementation Details |
|---|---|
| Session Info Patch | ir.http.session_info() |
| Web Client Descriptor | Patches OWL many2OneField |
| Property Override | Dynamic canQuickCreate / canCreateEdit |
| Editions Supported | Odoo 19 Community & Enterprise |
Security & Group Structure
| Security Layer | Details |
|---|---|
| Security Category | Many2one Options Cleaner |
| Technical Group | group_m2x_allow_create |
| Group Name | Allow Create Options on Many2one Fields |
| Default Inherited By | Settings / Administration |
Operational Setup Guide
| 1. | Install Many2one Options Cleaner from the Odoo Apps menu. |
| 2. | Go to Settings â Users & Companies â Groups (or edit a user directly in Developer Mode). |
| 3. | Find Allow Create Options on Many2one Fields under the Many2one Options Cleaner section. |
| 4. | Add users who are authorized to create master records directly from dropdowns. All other users will automatically see a clean dropdown! |
User Interface Walkthrough
Compare standard Odoo Many2one behavior with our permission-cleaned dropdown view.



Future Development Roadmap
- Model-specific creation override rules (e.g., allow creating Tags, but restrict creating Customers).
- Customizable user notification toast when quick-create is restricted.
- Granular toggle between hiding "Create..." vs hiding "Create and Edit...".
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 94 |
| Technical Name |
web_m2x_options_cleaner |
| License | OPL-1 |
| Website | https://syncsoft.app |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module