OdooWiki OCA HUB

Subcontracted service

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

This module allows a user to indicate that a service is subcontracted. It provides the ability to create purchases from procurement processes.

This is a base module, by itself it does not provide any function to the end user. Upon installation of specific modules for sale / manufacturing, some new behaviors can be achieved, examples:

  • Add a service to a kit Bill of Materials, use the kit in a sales order. On confirmation, an additional PO for the service is going to be created.
  • Add subcontracted services to BOMs. When a manufacturing order is created a PO is triggered for the service to be subcontracted.
  • Add subcontracted services to sales order. When the SO is confirmed, it creates a PO for the service.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Marks service products as subcontracted and lets Odoo automatically create purchase orders for them when they are needed by sales, kits or manufacturing. It is a base module: it adds the setup options, not a standalone screen.

This module adds a way to flag a service product as subcontracted. On the product form, when the product type is Service, a new checkbox "Subcontracted Service" appears. The flag is company-specific, so the same product can be subcontracted for one company and not for another.

On each warehouse, a new "Subcontracting" section shows a "Subcontracting Service Procurement Rule". When a warehouse is created, Odoo automatically creates this rule for buying the service, using the warehouse's incoming operation type and the standard Buy route. Existing warehouses get the rule when the module is installed.

Behind the scenes, when Odoo looks for the stock rule to fulfil a need for a product, it checks whether the product is a service flagged as subcontracted. If so, it uses the warehouse's subcontracting service rule instead of the normal one, which triggers a purchase order. It also makes sure such procurements are not skipped.

This module by itself does not add menus or reports. Its behaviour becomes visible when used together with sales, kits or manufacturing modules, where confirming a document can generate a purchase order for the subcontracted service.

Depends on

Models and fields (3)
  • stock.warehouse · extends an existing modelsubcontracting_service_proc_rule_id (Subcontracting Service Procurement Rule)
  • product.template · extends an existing modelproperty_subcontracted_service (Subcontracted Service)
  • procurement.group · extends an existing model

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

Sources · Odoo 15.0

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

terminal Installation and usage

OCA documentation · Odoo 15.0

To configure this module, you need to:

  • Configure your service product with the flag Subcontracted Service in the product form if this product should trigger a procurement.
  • Add the supplier information in your product form in the Purchase tab.
  • Additionally and despite a predefined rule is created in each warehouse, you can configure the 'Subcontracting_service procurement rule' for each warehouse through 'Inventory / Configuration / Warehouse Management / Warehouse'.

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.