mrp_components_report/README.md
2026-03-03 18:09:01 +07:00

1.3 KiB

MRP Components Report

Overview

This custom Odoo 19 module adds a new "Components Required" report under the Manufacturing > Reporting menu. It allows users to view a consolidated list of components needed for Manufacturing Orders on a specific date (or within a selected date range).

Key Features

  • Wizard Entry Point: Allows users to filter required components by a custom date range.
  • Reporting Views: Provides robust List and Pivot views for analyzing component demand data.
  • Multi-Level Grouping: Components are pre-grouped by Work Center and then by Parent Product for clear visibility into production station needs.
  • Excel Export: Native Odoo list views support immediate export to .xlsx.
  • Custom PDF Generation: Includes a dedicated "Print PDF" action within the wizard for a neatly formatted printable report.

Technical Details

This module utilizes a PostgreSQL VIEW (mrp.components.report) to performantly aggregate data from mrp_production (Manufacturing Orders) and stock_move (Component requirements). Work Center mapping is derived from standard Odoo routing and workorder relationships, gracefully falling back to the Manufacturing Order's primary Work Center if specific operations are undefined.

Author

Kipas System Implementation