| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 68 |
| Technical Name |
odh_disable_create_edit_option |
| License | OPL-1 |
| Website | https://onedevhub.in |
ODH Disable Create/Edit Option
In Odoo, relational fields like Many2one and Many2many allow users to create and edit records directly from dropdown menus. While convenient, this can lead to uncontrolled data entry and bypass proper workflows in many business environments. To solve this, we developed this module that lets you restrict the Create and Create & Edit options in relational fields using a dedicated security group. Simply assign users to the Disable Create/Edit in Many2one group and their ability to create or edit records directly from dropdowns will be automatically disabled. Key Features
Why Use This Module?
|
Features
|
➤ Disables "Create" and "Create & Edit" options in Many2one fields for users assigned to the restriction group. |
➤ Disables tag creation and "Create & Edit" in Many2many (tags) fields for restricted users. |
|
➤ Users added to the "Disable Create/Edit in Many2one" group are automatically restricted — no extra configuration needed. |
➤ Users NOT in the group retain full standard Odoo Create/Edit behavior — no disruption to their workflow. |
|
➤ Works seamlessly across Form views and Kanban views. |
➤ Uses OWL patching — no backend model changes required. |
|
➤ Handles Odoo v17 getter-based activeActions safely without causing crashes. |
➤ No impact on existing records or standard Odoo workflows. |
|
➤ Lightweight module with no performance overhead. |
➤ Compatible with multi-company environments. |
|
➤ Multi-Language Support — Supported languages: English, German, Arabic, Spanish, French, Chinese |
|
Configuration
Go to Settings → Users & Companies → Groups and add the users you want to restrict to the "Disable Create/Edit in Many2one" group.
Users IN the "Disable Create/Edit in Many2one" group will NOT see "Create" or "Create & Edit" options in Many2one fields.
Users NOT in the group retain the standard Odoo behavior — all "Create" and "Create & Edit" options remain fully available.
Many2many tag fields are also restricted for group users — the tag creation option is hidden automatically.
The restriction applies consistently in both Form views and Kanban views for all restricted users.
Frequently Asked Questions
▶ Which Odoo editions are supported by this module?
This module supports both Odoo Community and Odoo Enterprise editions.
▶ Can this module be used on Odoo Online?
No, Odoo Online does not allow installation of custom modules.
▶ What is the purpose of this module?
It disables the "Create" and "Create & Edit" options in Many2one and Many2many fields for all users who are added to the "Disable Create/Edit in Many2one" security group. Users not in the group are unaffected.
▶ Will this module change existing records or data?
No, existing records are not modified. The module only hides UI options in relational field dropdowns.
▶ How do I restrict a user from creating records via dropdowns?
Go to Settings → Users & Companies → Groups and add that user to the "Disable Create/Edit in Many2one" group. The restriction will apply immediately — no further configuration needed.
▶ Can some users be allowed and others restricted at the same time?
Yes. Only users added to the "Disable Create/Edit in Many2one" group are restricted. All other users continue to have full Create/Edit access as normal.
▶ Does this module affect standard sales or purchase workflows?
No, it does not change any backend workflows. It only hides the quick-create options in UI dropdowns for restricted users.
▶ Does it work on Kanban views as well?
Yes, the restriction is applied on both Form views and Kanban views.
▶ Is this module safe to install on a live database?
Yes, the module is safe to install on a live database. It uses frontend OWL patching with no backend changes.
▶ Does this module require any additional dependencies?
No, the only dependency is the base web module which is already available in all Odoo installations.
▶ Is this module compatible with multi-company setup?
Yes, the module works with Odoo multi-company environments.
▶ Do you provide support for this module?
Yes, basic support is provided. For customization, please contact us.
Support
Should you need any help, our support team is available at
✉ onedevhub01@gmail.com
Our Services
Odoo Implementation |
Odoo Customization |
Support & Maintenance |
Mobile Apps |
Migration Service |
External Integration |
Odoo Training |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 68 |
| Technical Name |
odh_disable_create_edit_option |
| License | OPL-1 |
| Website | https://onedevhub.in |
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