MRP Subcontracting (no negative components)
Disallow negative stock levels in subcontractor locations.
In standard Odoo it is allowed to validate a subcontractor receipt to get the finished products even if the components haven't been sent to the subcontractor. This module prevents this with an error message.
auto_awesome What this module does
AI-generated from the code · Odoo 15.0Prevents validating a subcontractor receipt when the components needed for the subcontracted manufacturing order are not available in the subcontractor's location. If components cannot be reserved, Odoo shows an error and blocks the receipt.
This module adds a control to the receipt of subcontracted products. When a user records the components on a transfer that belongs to a subcontracting flow, Odoo first tries to reserve the required components in the source location of the related manufacturing order.
- If the reservation succeeds, the normal process continues and the receipt can be validated.
- If the components cannot be reserved (for example because they were never sent to the subcontractor), Odoo raises an error message naming the location and stops the operation.
The check is applied on stock.picking through the action_record_components method, which is the action used to record components consumed by the subcontractor. The module is installed automatically when the standard subcontracting feature is present, so no new menu or screen is added; the change is visible directly in the existing receipt workflow.
This prevents negative stock in subcontractor locations and avoids validating a receipt for finished products when the components have not actually been provided.
Depends on
Models and fields (1)
- stock.picking · 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-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/manufacture.
terminal Installation and usage
No verified informationInstallation 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.