OdooWiki OCA HUB

Operating Unit in Purchase Requisitions

purchase_requisition_operating_unit folder_open OCA/operating-unit open_in_new
Purchase Management License: LGPL-3

This module introduces the following features:

  • Security rules are defined to ensure that users can only see the Purchase Requisition of that Operating Units in which they are allowed access to.
  • Ensures that Purchase Requisition and the Warehouse in picking type belongs to the same Operating Unit (OU) .
  • When the user creates a Purchase Order (PO) from the purchase requisition the operating unit is passed to that PO.
  • Sets default Picking type whoes Operating Unit (OU) in Warehouse matches to that of the User.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Adds an Operating Unit to purchase requisitions (tenders) so each requisition and its lines belong to one operating unit, and only users with access to that unit can see them.

This module links purchase requisitions (also called tenders) to Operating Units, which are used to separate business activity by branch or division.

  • On a purchase requisition you get a new Operating Unit field, shown next to the Company. It is filled in automatically with the operating unit of the logged-in user and can be changed while the requisition is still in draft.
  • A Picking Type field is added and is required. It only accepts incoming picking types, and it is pre-filled with an incoming picking type whose warehouse belongs to the same operating unit as the user.
  • Two checks block saving: the company of the requisition must match the company of the operating unit, and the warehouse of the selected picking type must belong to the same operating unit as the requisition. If you change the operating unit and no incoming warehouse exists for it, an error is shown.
  • Requisition lines automatically inherit the operating unit of their requisition.
  • Access rules restrict reading requisitions and requisition lines to those with no operating unit or with an operating unit the user is allowed to use.
  • When a purchase order is created from a requisition, the operating unit is copied onto the purchase order.
  • In the requisition list and form you can see the operating unit, and in the search filters you can group requisitions by operating unit.

Depends on

Models and fields (3)
  • purchase.order · extends an existing model
  • purchase.requisition · extends an existing modelpicking_type_id (Picking Type), operating_unit_id (Operating Unit)
  • purchase.requisition.line · extends an existing modeloperating_unit_id (Operating Unit)

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

Sources · Odoo 15.0

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

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.