Subcontracting Partner Management
The goal of this module is to simplify the management of the partner properties used in MRP Subcontracting.
It adds a new checkbox "Subcontractor" which when enabled creates the following entities:
- A child location in the "Subcontracting" location
- A Stock Operation Type of type 'receipt' for this location
- A new 'Buy' stock rule
- A new 'Resupply Subcontractor on Order' rule
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Adds a "Subcontractor" checkbox on company contacts that automatically creates the stock location, operation type and stock rules needed for subcontracting, plus a button to view that subcontractor's stock.
This module makes it easier to set up a company as a subcontractor in Odoo. On a company contact form you get a new "Subcontractor" checkbox (only visible for companies). When you tick it, Odoo automatically creates the supporting stock setup for that partner:
- A child internal location under the company's subcontracting location, stored on the partner.
- An incoming operation type (receipt) dedicated to that subcontractor, flagged as a subcontractor operation type.
- A "Buy" stock rule on the warehouse Buy route, pointing to that location and operation type.
- A "Resupply Subcontractor on Order" pull rule on the subcontractor resupply route, using the warehouse outgoing operation type and the partner address.
On the partner's stock tab a "Subcontractor Location Stock" button appears; it opens the stock quantities filtered to that subcontractor's location and its children.
Business rules and automatic behaviour: - Unticking the checkbox (or deleting the partner) archives the created location, operation type and rules instead of deleting them. - Renaming the partner updates the names of the created location, rules and operation type (the operation type gets a sequence code built from the name). - In the operation types list a new "Subcontractor" filter lets you show only subcontractor operation types.
The module extends res.partner and stock.picking.type and relies on purchase, manufacturing subcontracting and sales stock features.
Depends on
Required by other modules
Models and fields (2)
- res.partner · extends an existing modelpartner_buy_rule_id, partner_picking_type_id, is_subcontractor_partner (Subcontractor partner), partner_resupply_rule_id, subcontracted_created_location_id
- stock.picking.type · extends an existing modelis_subcontractor
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-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/manufacture.
terminal Installation and usage
OCA documentation · Odoo 16.0Configuration
Source · Odoo 16.0To see newly created rules, go to Settings > Inventory and activate "Multi step routes".
Usage
Source · Odoo 16.0- Select a partner of type "Company"
- Enable the "Subcontractor" checkbox
- New entities are created or existing are used if were created previously
- When disabled all associated enties will be archived
- When name of subcontractor is updated, names of entities are updated automatically.
- It is also possible to check inventory locations using Subcontractor Location Stock smart button on partner.
No verified information in OCA: Installation.
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.
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.