Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Extra Tools
  3. Disable Create and Edit on Many2one v 17.0
  4. Sales Conditions FAQ

Disable Create and Edit on Many2one

by Cerevantix Technologies https://www.cerevantix.com
Odoo

$ 23.99

v 17.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 17.0 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 276
Technical Name cerevantix_disable_create_and_edit
LicenseOPL-1
Websitehttps://www.cerevantix.com
Versions 17.0 18.0 19.0
  • Description
  • Manifest
  • License
CEREVANTIX TECHNOLOGIES

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.

CAPABILITIES

Reliable, generic, and auditable

Every capability below is implemented in the module.

01

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.

02

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.

03

Works Across Every App

One rule enforces the same restriction on Sales, Purchase, Invoicing, Inventory, and any other screen that references the restricted model.

04

Group-Based Exceptions

Exempt one or more security groups per rule, matching how Odoo access rights are already managed.

05

Individual User Exceptions

Exempt a single trusted user even when their group is restricted, for the cases group membership alone cannot express.

06

Dedicated Settings Screen

Configure every rule from Settings > Many2one Restrictions — no developer mode and no technical ir.model menu required.

07

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.

08

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.

09

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.

WORKFLOW

How it works

1

Pick a Model

Choose the model to restrict, such as Product or Contact, from the Restriction Rules screen.

2

Set Exceptions

Add the groups or individual users who should keep the ability to create and edit.

3

Staff See a Clear Message

Restricted users get your configured explanation right in the dropdown, wherever the field appears.

4

Review the Audit Log

See exactly who tried to create or edit a restricted record, and when.

SCREENSHOTS

See it in action

Real screens from the module, captured on Odoo 17.

01 - CONFIGURATION
Restriction Rules list showing Contact and Product rules

Every restriction rule in one list — restricted model, allowed groups, allowed users, and an active toggle.

Contact restriction rule with no exceptions and a custom denial message

A Contact rule with no exceptions and a custom denial message shown to every blocked user.

Product restriction rule exempting the Product Catalog Managers group

A Product rule that exempts the "Product Catalog Managers" group, so that team can keep creating and editing while everyone else is blocked.

Blocked Attempts audit log with user, model, field and source document

The Blocked Attempts Log — who tried to create or edit a restricted record, which field, which document, and when.

02 - IN ACTION
Exempted user still able to create a new product from a Sales Order line

An exempted user still sees "Create" and "Create and edit..." on a Sales Order line — exceptions work exactly as configured.

Denial message shown in the Customer field of a Sales Order

A restricted user typing an unmatched name into the Customer field sees the configured denial message — never a blank "No records" state.

Denial message shown in the Product field of a Sales Order line

The same restriction and the same clear messaging, on the Product field of a Sales Order line — one rule, every transactional screen.

QUESTIONS

Frequently asked

Does this only work on Product and Contact fields?

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.

Do I still need Odoo's native "no_create" view options?

No. The module enforces the restriction directly on the Many2one widget itself, independent of each view's own no_create/ no_create_edit settings, so coverage does not depend on every view being configured correctly.

Can I let a few people bypass a restriction?

Yes. Each rule has its own Allowed Groups and Allowed Users lists. Add a security group to exempt everyone in it, or add an individual user to exempt just them, even if their group is restricted.

What do blocked users actually see?

A clear, configurable message right inside the dropdown, in place of the create options or a blank "No records" state — so they know it is a permission boundary, not a bug. Every attempt is also written to the Blocked Attempts Log.

Get in Touch

Have questions or need customization? Every purchase includes 30 days of free support — we are here to help.

@

Email Us

support@cerevantix.com

We usually reply within one business day.

↗

Visit Our Website

www.cerevantix.com

Explore our apps, services, and portfolio.

MORE FROM CEREVANTIX

Explore our other apps

A growing suite of Odoo apps.

Cerevantix Read-Only User preview Cerevantix Access Management preview Cerevantix Journal Restriction on Users preview Cerevantix Warehouse Stock Access Restrictions preview
cerevantix .

Empowering growth through technology.

Reliable, generic Many2one create/edit restriction with group and user exceptions, clear denial messaging, and a full audit trail.

Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 276
Technical Name cerevantix_disable_create_and_edit
LicenseOPL-1
Websitehttps://www.cerevantix.com
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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with