OdooWiki OCA HUB

Stock Picking Whole Scrap

stock_picking_whole_scrap folder_open OCA/stock-logistics-workflow open_in_new
Warehouse License: AGPL-3

This module extends the functionality of stock module to allow to scrap quantities quickly from a picking.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a "Scrap All" action on a completed transfer that opens a wizard listing every move line, so you can scrap the whole picking in one go.

This module adds a quick way to scrap everything that was moved in a transfer, instead of scrapping each product line one by one.

On a transfer (stock.picking) in the Done state, a "Scrap All" action is available in the form view. It opens a pop-up wizard titled "Whole Scrap" that is pre-filled with one line per move line of that transfer, showing the product, lot/serial, package, owner, quantity and unit of measure. You can adjust the quantities, tick "Replenish Quantities" per line to trigger replenishment, and choose scrap reason tags. The scrap location is pre-set to the first location flagged as a scrap location.

Business rules enforced by the code: - Only one transfer can be scrapped at a time. - Only transfers in the Done state can be scrapped. - You cannot scrap more than the quantity that was actually done on a move line.

When you press "Scrap", the wizard creates the corresponding scrap records and processes them immediately. Move lines whose move is already scrapped are skipped when the wizard is filled in.

Depends on

stock
Models and fields (3)
  • stock.picking · extends an existing model
  • wiz.stock.picking.scrap · new modelline_ids (Moves), picking_id, scrap_location_id (Scrap Location)
  • wiz.stock.picking.scrap.line · new modellot_id (Lot), uom_id (Unit of Measure), owner_id (Owner), quantity, wizard_id (Wizard), package_id (Package), product_id (Product), move_line_id (Move Line), should_replenish (Replenish Quantities), scrap_reason_tag_ids (Scrap Reason)

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

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/stock-logistics-workflow.

terminal Installation and usage

OCA documentation · Odoo 18.0

To use this module you need to:

  • Go to a Inventory \> Dashboard \> Delivery Orders.
  • Create a picking with more than one line.
  • Confirm the picking.
  • Click to Scrap all button.

Yo can scrap all product and quantities in one step including lots, owners and packages.

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.