OdooWiki OCA HUB

Display Component's Lot on the Production Order Report

mrp_order_report_lot folder_open OCA/manufacture-reporting open_in_new
Manufacturing License: AGPL-3

This module adds a "Lot / SN" column to the MRP order report, and splits the consumed quantities by Lot for products tracked by lot.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds a Lot / SN column to the Manufacturing Order report so you can see which lots or serial numbers were consumed, and splits consumed quantities per lot for lot-tracked components.

This module changes the printed Manufacturing Order report (the PDF you can print from a production order). It does not add new menus or screens; it only enriches the existing report.

What changes on the report: - A new "Lot / SN" column appears in the components table, but only when the production order is in progress, to close, or done, and only if at least one component is tracked by lot or serial number. - For components tracked by serial number, the serial numbers used are listed in that column. - For components tracked by lot, the consumed quantity is no longer shown as a single total: it is split into one line per lot, each with its own quantity. - If some quantity was consumed without a lot assigned, an extra line shows that quantity and the words "Lot missing" appear in the Lot / SN column.

Behind the scenes, the module extends the stock move logic to compute consumed quantities per lot from the completed move lines, converting them into the product's unit of measure. This is what feeds the report.

It touches the stock.move model and the production order report template. No new fields, menus, buttons, emails or scheduled actions are added.

Depends on

mrp

Required by other modules

Models and fields (1)
  • stock.move · extends an existing model

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

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

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.