OdooWiki OCA HUB

MRP Propagate Lot Info

mrp_propagate_lot_info folder_open OCA/manufacture open_in_new
Warehouse License: LGPL-3

Propagates selected stock lot fields from a consumed component to the produced lots of a manufacturing order, including flagged by-products.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Copy selected lot/serial fields (like a reference or certificate number) from the consumed component lot to the finished product lot and flagged by-product lots during manufacturing.

This module lets you carry traceability data from a raw material lot onto the lot of the manufactured product. You first create a "Lot Info Propagation Profile" under Manufacturing > Configuration, choosing which lot fields (for example the lot reference) should be copied.

  • On a product category you can set a default profile for consumed components.
  • On a bill of materials line you can set a lot propagation profile; only tracked components are allowed, and only one BoM line per BoM may propagate lot information.
  • On BoM by-products you can tick "Propagate lot info" so those by-product lots also receive the values.

When a manufacturing order is confirmed, Odoo automatically picks up the profile from the BoM line (or from the product category if there is no BoM) and shows it on the order. When you mark the order as done, Odoo checks that exactly one consumed lot exists on the configured component and that a finished-product lot is set; otherwise it blocks the action with an error. It then copies the chosen field values onto the finished lot and, if the order was completed normally, onto the lots of flagged by-products. Empty source values are skipped.

Depends on

mrp

Menus it adds

Lot Info Propagation Profiles
Models and fields (5)
  • mrp.bom.line · extends an existing modelpropagate_lot_field_ids (Lot fields to propagate), propagate_lot_profile_id (Lot propagation profile)
  • mrp.production · extends an existing modelpropagate_lot_field_ids (Lot fields to propagate), propagate_lot_profile_id (Lot propagation profile), propagate_lot_bom_line_id (BoM line propagating lot)
  • product.category · extends an existing modelmrp_propagate_lot_profile_id (MRP Lot Propagation Profile)
  • mrp.bom.byproduct · extends an existing modelpropagate_lot_info
  • mrp.lot.info.propagation.profile · new modelname, propagate_lot_field_ids (Lot fields to propagate)

Text generated by AI (DeepSeek) from reading the Odoo 18.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 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/manufacture.

terminal Installation and usage

OCA documentation · Odoo 18.0

Only one component line can have a propagation profile per BoM, and the component must be tracked by lots or serial numbers.

Propagated fields are grouped in profiles. To create one:

  • Go to Manufacturing > Configuration > Lot Info Propagation Profiles.
  • Create a profile.
  • Select the stock lot fields that the profile should propagate.

To configure product category defaults:

  • Go to a product category.
  • Set MRP Lot Propagation Profile.

That profile will be proposed automatically on BoM lines when selecting a component from that category.

To configure a BoM:

  • Open the BoM.
  • On the component line that should provide the lot information, review or edit the lot propagation profile.
  • Leave the profile empty on the other component lines.
  • On by-product lines that should receive the same lot information, enable Propagate Lot Info.

For manufacturing orders created without a BoM, configure the propagation profile on the manufactured product category. The order must consume exactly one lot/serial number across all raw material moves.

To use lot propagation in manufacturing:

  • Confirm the manufacturing order.
  • Consume exactly one lot/serial number for the configured component.
  • Set the finished product lot/serial number.
  • Validate the manufacturing order.

During validation, the configured non-empty values from the consumed component lot are copied to the finished product lot and to the lots of by-products that have Propagate Lot Info enabled on the BoM.

No verified information in OCA: Installation.

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.