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
    • Artificial Intelligence
    • 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
    • Affiliate Program
    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. Access Restrictions per User: hide menus, buttons, reports, read-only users v 20.0
  4. Sales Conditions FAQ

Access Restrictions per User: hide menus, buttons, reports, read-only users

by Aerya IT Solutions https://aerya.net
Odoo

$ 53.69

v 20.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 20.0
You bought this module and need support? Click here!
Versions 17.0 18.0 19.0 20.0
  • Description
  • Manifest
  • License
Aerya Odoo 17, 18, 19 and 20, Community and Enterprise · Developed in the European Union by Aerya IT Solutions

Hide menus, buttons and reports per user, and mean it

One restriction profile per role: hidden menus, hidden form buttons, hidden reports and actions, read-only users, allowed journals and warehouses. What protects data is enforced by the server, so the API, an import or a typed URL cannot get around it.

Per user or per group, several profiles add up
Hidden buttons and reports are refused over RPC too
Read-only users by access rights, allowed journals and warehouses by record rules
Administrators are never restricted: nobody locks you out

Runs on Odoo.sh and on-premise, not on Odoo Online (SaaS), where Odoo does not allow modules with Python code. Please buy the version that matches your database.

A profile for sales clerks: buttons hidden on invoices

Screenshots of Odoo 17 Enterprise with the data of a fictitious company. The module works on Community and Enterprise.

30 automated tests on each version
profiles per user and group, menus, buttons in views, reports, server actions, read-only users, refusals over JSON-RPC, XML-RPC and report URLs, administrators never locked out, browser tours
Code checked with flake8 and pylint-odoo
no warnings, on the four versions
Odoo core only
Community and Enterprise

A user sees buttons and menus that are not theirs

Odoo gives rights by groups, and groups are coarse. The person who enters purchase orders still sees the menus of apps they never use, the person who prints invoices still sees the button that resets them to draft, and a trainee still sees every report. Hiding things by editing views is fragile: it breaks on the next upgrade, and it hides nothing from someone who calls the same method through the API.

What it does

A restriction profile names users or groups and lists what they must not see or do: menus, buttons, reports, server actions, wizards. What protects data is enforced by the server, so a hidden button or report is refused over RPC and by URL too. The module only takes rights away: it never grants one.

How it works, step by step

  1. Install the module. With Invoicing or Inventory, the journal and warehouse restrictions install themselves.
  2. Create a profile. Open Settings, Users & Companies, Access Restrictions. In the Who group choose the users or the groups, implied groups included.
  3. Hide menus. On the Menus tab, pick the menus. Their submenus go with them.
  4. Hide buttons. On the Buttons tab, name the model and the method of the button. For example Reset to Draft is button_draft on invoices.
  5. Hide reports and actions. On the Reports and Actions tab, pick the reports, server actions and wizards.
  6. Check as the user. Log in as one of them: menus, buttons and reports are gone, and the server refuses them if called anyway.
  7. Lift it. Archive the profile and the restrictions end at once. A user in several profiles gets the restrictions of all of them.

Profiles, not scattered settings

Settings › Users & Companies › Access Restrictions: one profile per role names its users and groups (implied groups count) and holds everything they must not see or do. A user in several profiles gets all their restrictions.

Archive a profile to lift it at once; nothing to upgrade, no view to edit.

Restriction profiles

Buttons: hidden and refused

Name the model and the method of the button (Reset to Draft is button_draft on invoices). The button disappears from every view of the model for these users, and the server refuses the method when they call it from the web client, XML-RPC or JSON-RPC.

A posted invoice as a sales clerk: no Reset to Draft, no Cancel

Reports and actions

Hidden reports leave the Print menu and are refused when printed, also through a /report/... URL or a portal download link. Hidden server actions leave the Action menu and are refused when run; hidden wizards leave the menu. Mail templates and scheduled actions that print as superuser keep working.

Reports and actions hidden for sales clerks

Read-only users

Tick Read-only Users: the users read everything their groups allow but cannot create, change or delete, enforced by the access rights on the server. Wizards, chat, notifications and their own preferences keep working, and you can leave some models writable (activities, for example).

A contact opened by a read-only auditor: no Edit, no New

Allowed journals

With Invoicing, the profile gets Allowed Journals. The users see and use only those journals, with their entries, journal items, payments and statements, through record rules: lists, reports, imports and the API all follow. Only the companies of the chosen journals are restricted.

The accounting dashboard of a clerk allowed two journals

Allowed warehouses and locations

With Inventory, Allowed Warehouses and Allowed Locations: other warehouses, their locations, operation types, transfers, moves and stock disappear for these users. Customer, vendor and transit locations stay usable, so deliveries and receipts work as usual.

Inventory of a clerk allowed one warehouse

More screenshots

Allowed journals on a profile

Allowed journals on a profile

Allowed warehouses on a profile

Allowed warehouses on a profile

A read-only profile with a writable model

A read-only profile with a writable model

The profiles of a user, on the user form

The profiles of a user, on the user form

The same profile with the Spanish translation

The same profile with the Spanish translation

Settings and options

Read-only UsersThe users read what their groups allow but cannot create, change or delete, enforced by the access rights. Wizards, chat, notifications and their own preferences keep working. A list of extra writable models is possible per profile.
Allowed JournalsWith Invoicing. The users see and use only these journals, with their entries, journal items, payments and statements, through record rules, per company.
Allowed Warehouses, Allowed LocationsWith Inventory. Other warehouses, their locations, operation types, transfers and moves disappear. Customer, vendor and transit locations stay usable.
NotesA free text for the reason of the profile.

Users with the Settings rights and the superuser are never restricted, so the configuration can always be corrected. Code that runs as superuser, such as mail templates and scheduled actions, keeps working.

What it does not do

  • A hidden button refuses its method, not a plain change of the same field. Use read-only mode for that, or the field-level module.
  • Hidden menus and wizards are screen restrictions. The data stays protected by the access rights, read-only mode and the record rules.
  • Wizards stay usable in read-only mode, and a wizard that writes as superuser is not stopped.
  • Reports reached outside the user's session are not refused: portal links opened without logging in, and PDFs already stored on a document, such as a sent invoice.
  • Another route to the same result needs its own restriction, for example a customer accepting a quotation on the portal.
  • The Export action is handled by core (group Access to export feature).
  • Buttons of users, groups, access rights, views, menus, modules, settings and the profiles themselves, and methods that do not exist or are private, are blocked with an error that names the case.

Requirements

  • Odoo 17, 18, 19 or 20, Community or Enterprise.
  • Nothing beyond Odoo itself (base, web). Journals need Invoicing and warehouses need Inventory.
  • A host that allows modules with Python code: Odoo.sh or your own server.
  • English, Spanish, Romanian and Dutch translations.

Frequently asked questions

Can an administrator lock themselves out?

No. Users with the Settings rights are never restricted, whatever profile names them.

Does hiding a button stop an API call?

Yes. The server refuses the method from the web client, XML-RPC and JSON-RPC.

What if a user is in two profiles?

They get the restrictions of both.

Do I have to edit views?

No. Nothing is edited, so there is nothing to redo after an upgrade.

Do the mail templates and scheduled actions still work?

Yes. Code that runs as superuser is not restricted.

Explore our other apps

More modules by Aerya IT Solutions for Odoo 20, built to work together.

Journal Restriction per User

Bridge of Access Restrictions per User and Invoicing: allowed journals per user or group

58 EUR · View on the store →

Warehouse Restriction per User

Bridge of Access Restrictions per User and Inventory

58 EUR · View on the store →

Field Access per Group

Field security per user group from a settings screen: make any field read-only

55 EUR · View on the store →

MCP Server for Claude, ChatGPT and Cursor

Model Context Protocol server inside Odoo: AI assistants search, read and, where you allow it

79 EUR · View on the store →

User Audit

Audit log of create, write and delete on the models you choose with old and new values

29 EUR · View on the store →

Segregation of Duties

Segregation of duties matrix with conflict check (block or four-eyes approval)

89 EUR · View on the store →

Questions or a custom quote?

Write to info@aerya.ro for questions about the module, its installation or custom development.

Aerya

Developed in the European Union by Aerya IT Solutions, Odoo implementation and development. aerya.net

Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 673
Technical Name aerya_access_restrict
LicenseOPL-1
Websitehttps://aerya.net
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