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. Product Restriction on Users - Allowed Products and Categories per User v 19.0
  4. Sales Conditions FAQ

Product Restriction on Users - Allowed Products and Categories per User

by Modvanta https://modvantaapps.tech/odoo-apps/product-user-restriction/
Odoo

$ 11.97

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
You bought this module and need support? Click here!
  • Description
  • Manifest
  • License
Product Restriction on Users for Odoo 19 - allowed products and allowed product categories per user
Odoo 19Allowed productsAllowed categoriesSalesPurchaseInventoryEnforced on the server13 automated tests

Let each user work only with the products they are responsible for

Set allowed products and allowed product categories on a user. That user then only finds those products in product lists and in the product dropdowns of quotations, purchase orders and other documents, and the server refuses any other product.

Buy Now - $12Ask a Question

Written and supported by Modvanta - modvantaapps@gmail.com

What it does

In standard Odoo every salesperson and buyer sees the whole catalogue. A team that sells only furniture still scrolls past food, drinks and services, and nothing stops them from putting a product of another team on a quotation.

This module adds a Product Restrictions tab to the user form with Allowed Product Categories (sub-categories included) and Allowed Products. When either is filled in, the user only finds those products: in the product list, in the product dropdown of a quotation or a purchase order, and anywhere else Odoo searches products, because the restriction is applied on the server.

A restricted user cannot add another product to a document, even through import or the API. Documents that already contain other products stay readable. Administrators and members of See all products are never restricted, and leaving both fields empty means no restriction.

Who it is for

Companies with product-line teams

Each sales or purchasing team works only with its own range.

Distributors and franchises

Agents or branch staff only see the products they are allowed to sell.

Managers who need control

Keep sensitive or internal products away from users who should not quote them.

Key features

All screenshots were taken on Odoo 19 with this module installed on a clean demo database (company Northwind Trading Co). Jordan Lee is a salesperson and purchase user allowed the Furniture category and one service, Virtual Interior Design.

Feature 1

Allowed products and categories on the user

The Product Restrictions tab on the user form holds the allowed product categories and allowed products, and shows whether the restriction is active. Leave both empty to let the user see every product.

Allowed products and categories on the user

Feature 2

The full catalogue for an administrator

Alex Morgan, an administrator, sees all 115 saleable products of the demo database: furniture, food, drinks, clothes and services.

The full catalogue for an administrator

Feature 3

Only the allowed products for the restricted user

Jordan Lee opening the same product list sees 31 products: the Furniture category with its sub-categories, plus Virtual Interior Design.

Only the allowed products for the restricted user

Feature 4

Restricted product dropdown on quotations

Typing 'Virtual' on a quotation line offers only Virtual Interior Design. Virtual Home Staging, a service outside the allowed list, does not appear.

Restricted product dropdown on quotations

Feature 5

And on purchase orders

The product dropdown of a request for quotation shows only allowed products as well.

And on purchase orders

Feature 6

Existing documents stay readable

A quotation assigned to Jordan Lee that already contains Virtual Home Staging still opens normally with all its lines.

Existing documents stay readable

Feature 7

Other products refused by the server

Duplicating that quotation would put the forbidden product on a new order, so the server refuses it with a clear message telling the user to ask an administrator.

Other products refused by the server

How it works, step by step

1

Install the module

It depends only on Product.

2

Open a user

Settings -> Users, open the user and go to the Product Restrictions tab.

3

Choose what they may use

Add allowed product categories (their sub-categories are included) and, if needed, single allowed products.

4

Done

The restriction applies straight away to product lists, dropdowns and documents for that user.

Settings

Settings are on each user, in the Product Restrictions tab (visible to administrators).

Allowed Product CategoriesCategories the user may use, sub-categories included.
Allowed ProductsSingle products the user may use in addition to the categories.
Restriction activeShows whether the user is restricted (at least one allowed category or product, and not a member of See all products).
See all products (ignore product restrictions)Group whose members are never restricted. Administrators are in it by default.

Frequently asked questions

Is it only hidden in the interface?

No. The products are filtered on the server, so lists and dropdowns only return allowed products, and a document with another product is refused even through import or the API.

What about documents that already contain other products?

They stay readable for the user. Only adding another product is refused, as the duplicate example shows.

Are sub-categories included?

Yes. Allowing Furniture also allowed Furniture / Office and Furniture / Outdoor on the bench.

Who is never restricted?

Administrators, members of See all products, and users whose two fields are empty. Portal, public and system flows are not affected.

Does it need Sales or Purchase?

No. It depends only on Product and works in every app that uses products; the screenshots show Sales and Purchase.

Compatibility

Odoo 19

Community and Enterprise

Depends on

Product

Tested

13 automated tests

Show every user only the products they should use

Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.

Buy Now - $12Hire Us for Odoo Work

SUPPORT

modvantaapps@gmail.com

AUTHOR

Modvanta

INCLUDED

Module, setup help by email

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 150
Technical Name mdv_product_user_restriction
LicenseOPL-1
Websitehttps://modvantaapps.tech/odoo-apps/product-user-restriction/
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