Disable Create and Edit on Many2one
Block quick-create and quick-edit on any Many2one field, reliably and generically, with group and user exceptions, a clear denial message, and an audit log of every blocked attempt.
The problem
Every Many2one field, Product, Vendor, Customer, invites staff to type a new value and silently create a full record from a Sales Order line, a Purchase Order, an invoice, or a stock move. Odoo's native no_create/no_create_edit view attributes are inconsistent across fields, easy to miss on one screen out of dozens, and require a developer to configure — leaving master data full of duplicate, incomplete records nobody meant to create.
The solution
Pick any model from one dedicated Settings screen and its quick-create and quick-edit options disappear everywhere that model shows up in a Many2one dropdown, no matter which app it lives in. Exempt specific groups or individual users, and blocked staff see a clear explanation instead of a confusing empty list — every denied attempt is logged for review.
Reliable, generic, and auditable
Every capability below is implemented in the module.
Restrict Any Model
Not limited to Product or Contact. Pick any model from the Restriction Rules screen and every Many2one field pointing to it is covered.
Blocks Create & Create-and-Edit
Hides the typed quick-create option and the "Create and edit..." popup together, so there is no back door left open.
Works Across Every App
One rule enforces the same restriction on Sales, Purchase, Invoicing, Inventory, and any other screen that references the restricted model.
Group-Based Exceptions
Exempt one or more security groups per rule, matching how Odoo access rights are already managed.
Individual User Exceptions
Exempt a single trusted user even when their group is restricted, for the cases group membership alone cannot express.
Dedicated Settings Screen
Configure every rule from Settings > Many2one Restrictions — no developer mode and no technical ir.model menu required.
Clear Denial Messaging
Blocked users see a configurable, human-readable message in the dropdown itself, instead of a disabled button or a confusing blank "No records" state.
Audit Log of Blocked Attempts
Every denied attempt records the user, the restricted model, the field, the document it was attempted from, and the timestamp.
Consistent in Form, List & Kanban
The same restriction holds whether the field is reached from a form, an editable list row, or a kanban card — one enforcement point, not one per view.
How it works
Pick a Model
Choose the model to restrict, such as Product or Contact, from the Restriction Rules screen.
Set Exceptions
Add the groups or individual users who should keep the ability to create and edit.
Staff See a Clear Message
Restricted users get your configured explanation right in the dropdown, wherever the field appears.
Review the Audit Log
See exactly who tried to create or edit a restricted record, and when.
Frequently asked
No sales fog. If your question isn't here, email us and we'll answer it the same way.
No. A restriction rule can target any model in the system. Product and Contact are the most common choices, but the Restriction Rules screen lets you pick whichever model you need to lock down.
Buy it on the Odoo App Store
Purchase, download and install directly from the official Odoo Apps Store — you'll always get the latest supported build.
Disable Create and Edit on Many2one
Reliable, generic Many2one create/edit restriction with group and user exceptions, clear denial messaging, and a full audit trail.
Buy on Odoo App Store