OdooWiki OCA HUB

Product Category - Usage Group

product_category_usage_group folder_open OCA/product-attribute open_in_new
Product License: AGPL-3

This module extends the functionality of the product module, to restrict usage of product categories to users that belong to a given group.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Lets you attach a user group to a product category so that only members of that group can use the category when creating or updating products.

This module adds an extra field called Usage Group on product categories. You can pick any existing user group there.

  • On the product category form, a new "Access Rights" section shows the Usage Group field.
  • The category list and the category search view also show the Usage Group, and you can group categories by Usage Group in the search filters.

When a product is saved with a category that has a Usage Group, Odoo checks whether the current user belongs to that group. If not, the save is blocked with an error message naming both the category and the group.

This applies to product templates (product.template) whenever their category (categ_id) is set, so it affects creating and updating products. The check is a constraint, meaning it runs automatically on save; there is no button to press.

The module only touches product categories and product templates. It does not change sales, purchases, stock or accounting documents. A demo category is included that links a category to the multi-company group, useful for testing.

Depends on

product
Models and fields (2)
  • product.category · extends an existing modelusage_group_id (Usage Group)
  • product.template · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/product-attribute.

terminal Installation and usage

OCA documentation · Odoo 16.0

To configure this module, you need to:

  • Go to your product category form and set a group to restrict usage

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.