OdooWiki OCA HUB

Purchase Order security

purchase_security folder_open OCA/purchase-workflow open_in_new
Purchase License: AGPL-3

This addon creates new groups in Purchase.

Visibility of purchase orders is restricted for users in these groups. You can only see the purchase order:

  • User (own orders): If you are a follower of the partner or there is no user or you are the partner's user.
  • User (team orders): If you are a follower of the partner or there is no user or you are a user of your purchasing team.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds purchase teams and two new access levels so buyers only see the purchase orders and vendors that belong to them or to their team, while managers keep full visibility.

This module lets a company split its purchasing staff into teams and control who can see which purchase orders.

  • A new "Purchase Teams" screen (under Purchase configuration) lets managers create teams, order them, and assign purchasing users as members. Managers can edit teams; ordinary buyers can only view them.
  • On a vendor/contact card, two new fields appear for restricted buyers: "Purchase representative" and "Purchase team". When a purchase order is created for that vendor, the responsible buyer and team are filled in automatically (unless already set).
  • Each purchase order now carries a team, taken from the assigned buyer's first team (or the first team if none). The buyer field becomes read-only for users limited to their own orders; managers and unrestricted users can still change it.
  • Two new access levels are added to the Purchase settings: "User (own orders)" sees only orders where they are the responsible buyer, plus orders with no buyer and no team; "User (team orders)" sees orders handled by members of their team. Purchase managers see everything.
  • The same restrictions apply to order lines, to the vendor list, and to vendor price lists, so restricted users cannot browse other buyers' vendors or supplier prices.
  • A "Purchase representative" column and grouping filter are added to the vendor list for restricted users.

Depends on

purchase

Menus it adds

Purchase Teams
Models and fields (6)
  • ir.rule · extends an existing model
  • res.users · extends an existing modelpurchase_team_ids (Purchases Teams)
  • res.partner · extends an existing modelpurchase_team_id (Purchase team), purchase_user_id (Purchase representative)
  • purchase.team · new modelname, sequence, user_ids (Purchase Users)
  • purchase.order · extends an existing modelteam_id, is_user_id_editable
  • product.supplierinfo · extends an existing model

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: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/purchase-workflow.

terminal Installation and usage

OCA documentation · Odoo 19.0

To use this module, you need to:

  • Go to Purchase \> Orders \> Purchase Orders
  • Create a Purchase Order and assing a Purchase Representative (in the Other Information tab), if you are a Purchase User or Manager. If you are a Purchass User (own orders), i'll be automatically assigned, and you won't be able to change it
  • Confirm the Purchase Order
  • Go back to the Purchase Orders view.
  • If you are a Purchase User or a Purchase Manager, you should be able to see all orders. If not, you'll only see your own orders.

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.