OdooWiki OCA HUB

MRP Serial Number Propagation (subcontracting)

mrp_subcontracting_lot_number_propagation folder_open OCA/manufacture open_in_new
Manufacturing License: AGPL-3

Integration of the lot number propagation from a component to a finished product with the subcontracting workflow.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Extends lot/serial number propagation to subcontracting: when a component's lot number is propagated to the finished product, the lot field on the subcontractor's recorded components becomes read-only and the propagated lot is created and assigned automatically.

This module makes the lot number propagation feature work with subcontracting manufacturing orders. When a manufacturing order is set to propagate a component's lot number to the finished product, the system automatically creates and assigns that propagated lot number when the subcontractor's components are recorded.

On the stock move lines (the detailed lines where lots/serials are entered), a new technical flag marks whether the lot field can still be edited. If the lot on the line matches the propagated lot of a subcontracting manufacturing order that has already been recorded, the lot field becomes read-only, so users cannot change it by mistake. This applies in the move line list, detailed list, form and operations views.

On the subcontracting manufacturing order form, the finished-product lot field is no longer mandatory when lot propagation is active, because the lot is filled in automatically instead of being typed by the user.

The module also tells the propagation logic that 'subcontract' bills of materials are eligible for lot number propagation, and it disables the 'assign serial number' button on moves when any of their lines has a locked lot.

It touches mrp.bom, mrp.production, stock.move and stock.move.line, and installs automatically alongside the subcontracting and lot propagation modules.

Models and fields (4)
  • mrp.bom · extends an existing model
  • stock.move · extends an existing model
  • mrp.production · extends an existing model
  • stock.move.line · extends an existing modelis_lot_id_editable (Is lot editable?)

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: 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 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.