OdooWiki OCA HUB

Operating Unit in Products

product_operating_unit folder_open OCA/operating-unit open_in_new
Product License: LGPL-3

This module introduces the following features:

  • It introduces the operating unit to the product template.
  • The operating unit from the user is assigned by default when creating a new product template.
  • In case of multi-company, no operating unit from another company to that assigned to the product can be set for it
  • It implements user's security rules.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds operating units to products and product categories, so users only see products and categories belonging to their allowed operating units. Product operating units are inherited from the product category and kept consistent.

This module links products and product categories to operating units, a way of splitting data between parts of a company.

  • On a product category form, a new "Operating Units" field appears (for users with the multi operating unit setting).
  • On a product form and in the product list, the same "Operating Units" field is shown, and it can also be used as a filter in the product search.
  • When a product is created, its operating units are automatically taken from its product category. Users can still change them afterwards.
  • A check prevents saving a product whose operating units do not include all the operating units of its category; an error message is shown in that case.
  • When operating units are added to a product category, all products in that category (including sub-categories) are updated to include those operating units as well.
  • Security rules restrict reading of product templates and product categories to records whose operating units are empty or among the user's allowed operating units.

The module touches product.template and product.category, and depends on the operating unit module.

Depends on

Required by other modules

Models and fields (2)
  • product.category · extends an existing modeloperating_unit_ids (Operating Units)
  • product.template · extends an existing modelcateg_id, operating_unit_ids (Operating Units)

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/operating-unit.

terminal Installation and usage

OCA documentation · Odoo 19.0
  • Create a Product: the Default Operating Unit of the user is assigned to it. If you want, you can change to another Operating Unit.
  • Assignment of an operating unit of another company to the one set in the product raises an error for a multi-company setting.
  • Access rules allow to just show those products having the same operating units as the user

No verified information in OCA: Installation, Configuration.

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.