OdooWiki OCA HUB

MRP Component Operation Scrap Reason

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

This module allows to pass a reason to scrap with MRP component operation (glue module).

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

When scrapping components during a manufacturing operation, users must now choose a scrap reason code. The list of reasons offered is filtered by the product's category.

This module adds a scrap reason to the component operation wizard used in manufacturing. When a user performs an operation on a component and selects the 'scrap' outgoing operation, a new field 'Scrap Reason Code' appears and becomes mandatory.

  • The available reason codes are automatically filtered: only codes that are either not linked to any product category or linked to the category of the component being scrapped are shown.
  • The chosen reason code is stored on the scrap record created by the operation.

The change appears in the component operation form (a wizard) used in manufacturing orders. It extends the model mrp.component.operate and depends on the modules scrap_reason_code and mrp_component_operation.

No new menus or reports are added. The module is a glue module that connects scrap reasons with component operations.

Models and fields (1)
  • mrp.component.operate · extends an existing modelscrap_reason_code_id (Scrap Reason Code), allowed_reason_code_ids

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

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.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.