OdooWiki OCA HUB

Stock Scrap Location Default

stock_scrap_location_default folder_open OCA/stock-logistics-warehouse open_in_new
Uncategorised License: AGPL-3

This module allows to define a default scrap location when creating a scrap.

By default, Odoo searches for the first location that is a scrap one. This changes from the standard behavior.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Lets you set a default scrap location per company, so new scrap orders automatically use that location instead of Odoo picking the first scrap location it finds.

This module adds a company-level setting that defines which location should be used by default when you scrap stock.

  • In Inventory settings, a new field "Scrap Default Location" appears (only when the multi-locations setting is enabled). It lets you choose a location that is flagged as a scrap location and belongs to the company (or is shared).
  • The value is stored on the company, so each company can have its own default scrap location.
  • When a new scrap record is created, the scrap location field is automatically filled with the company's default scrap location. If no default is configured for the company, Odoo falls back to its standard behaviour of searching for the first scrap location.

The module extends res.company, res.config.settings and stock.scrap. It does not add new menus or reports; the only new screen element is the setting field inside the existing Inventory configuration page.

Depends on

stock
Models and fields (3)
  • res.company · extends an existing modelscrap_default_location_id
  • stock.scrap · extends an existing modelscrap_location_id
  • res.config.settings · extends an existing modelscrap_default_location_id

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

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/stock-logistics-warehouse.

terminal Installation and usage

OCA documentation · Odoo 16.0
  • Go to Inventory > Settings > Warehouse
  • Check the box 'Storage Locations' if not yet activated.
  • Define a scrap location that will be used as default when doing scrap

No verified information in OCA: Installation, Usage.

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.