OdooWiki OCA HUB

Repair Scrap

repair_scrap folder_open OCA/repair open_in_new
Repair License: AGPL-3

Manage repair scraps

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

This module lets you scrap components or irreparable parts directly from a repair order. It adds a Scrap button on repair orders, a scrap counter, and links scrap records back to the repair.

When a repair order is confirmed, a Scrap button appears in its header. Clicking it opens a wizard where you list the products to scrap, with quantity, lot/serial, source location and scrap location. The source location defaults to the repair order's location, and the scrap location defaults to the one configured on the repair type.

After confirming, the system creates stock scrap records linked to the repair order. The repair order then shows a Scraps counter button that opens the list of related scraps. From a scrap record, a Repair Order button lets you jump back to the linked repair.

On repair types, you can set a Scrap Destination Location, which is used as the default scrap location in the wizard. The module also marks stock moves created from these scraps, so they can be identified as repair scraps.

A validation prevents scrapping from a repair order that is still in draft or cancelled state. The feature is available to users with stock user rights.

Depends on

Models and fields (7)
  • stock.move · extends an existing modelis_repair_scrap (Is repair Scrap)
  • stock.rule · extends an existing model
  • repair.type · extends an existing modelscrap_location_id (Scrap Destination Location)
  • stock.scrap · extends an existing modelrepair_id (Repair order), is_repair_scrap
  • repair.order · extends an existing modelscrap_ids, scrap_count (# Scrap)
  • repair_make_scrap.wizard · new modelitem_ids (Items)
  • repair_make_scrap_item.wizard · new modellot_id (Lot/Serial), uom_id (Unit of Measure), wiz_id (Wizard), repair_id (repair Order), company_id, product_id (Product), location_id (Source Location), product_qty (Quantity Ordered), scrap_location_id (Scrap Location)

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

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.