OdooWiki OCA HUB

MRP BoM Current Stock

mrp_bom_current_stock folder_open OCA/manufacture-reporting open_in_new
Manufacture License: AGPL-3

This modules extend the Manufacturing App adding a report that explodes the bill of materials and show the stock available in the source location.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds a Manufacturing report that explodes a bill of materials and shows, for each component, how much stock is available in a chosen source location. Results can be viewed on screen and printed as PDF or exported to Excel.

This module adds a new report to the Manufacturing app under Reporting, called BoM Current Stock Explosion.

  • The user picks a product (only products that have a normal bill of materials), the starting bill of materials and a starting location, then clicks Explode.
  • Odoo walks through the bill of materials level by level, including sub-assemblies, and lists every component with its level, required quantity, unit of measure and source location.
  • For each component line the module computes the quantity available in the chosen source location, converted into the component's unit of measure, so the user can see whether enough stock is on hand.
  • The result screen lets the user change the source location per component line, and offers Print PDF and Export XLSX buttons.
  • The PDF report shows the location, then a table with level, product, quantity, location and quantity available; the Excel export contains the same information plus bill of materials references and parent bill of materials details.

The module works with bills of materials (mrp.bom), bill of materials lines (mrp.bom.line), products and stock locations. It does not change existing manufacturing documents; it only adds a temporary calculation screen and two report outputs.

Depends on

Menus it adds

mrp_bom_current_stock_menu
Models and fields (3)
  • mrp.bom.current.stock · new modelbom_id (Starting Bill of Materials), line_ids, product_id (Product Variant), location_id (Starting location), product_qty, product_uom_id, product_tmpl_id (Product Template)
  • mrp.bom.current.stock.line · new modelbom_id (Parent BoM), bom_line (BoM line), bom_level (BoM Level), product_id (Product Variant), location_id (Source location), product_qty (Product Quantity), explosion_id, product_uom_id (Product Unit of Measure), qty_available_in_source_loc (Qty Available in Source)
  • report.mrp_bom_current_stock.report_mrpbom_current_stock_xlsx · new model

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 19.0

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

terminal Installation and usage

OCA documentation · Odoo 19.0

To use this module, you need to:

  • Go to Manufacturing \> Reporting \> BoM Current Stock Explosion.
  • Select Product, BoM and location and click on Explode.
  • Set the proper location (if desired) for all the components displayed if you haven't done so in the related BoMs.
  • Click Print Report.

No verified information in OCA: Installation, Configuration.

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.