It will filter the location based on the quantity of that product on hand when scrap is created for a certain product.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0When you scrap a product in Odoo, the source location list only shows locations that actually hold that product (and lot/serial number), instead of every location in the warehouse.
This module changes the Scrap screen so that the source location you can pick is limited to places where the product is actually available.
- On the scrap form (both the normal scrap screen and the scrap pop-up wizard), the location field now takes the selected product and lot/serial number into account.
- Only locations that have an on-hand quantity for that product (and, if a lot/serial number is chosen, for that specific lot/serial number) are offered.
- If no location holds the product, the system falls back to the main stock location of the company's warehouse, so the field is never left completely empty.
- Changing the product clears the previously chosen location and lot/serial number, and changing the lot/serial number clears the location, so you cannot keep an invalid combination.
It touches the scrap document (stock.scrap) and the location list (stock.location). No new menus, reports or scheduled actions are added; the change is visible directly inside the existing Scrap form in the Inventory app.
Depends on
Models and fields (1)
- stock.scrap · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 14.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-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/stock-logistics-warehouse.
terminal Installation and usage
OCA documentation · Odoo 14.0Usage
Source · Odoo 14.0- Go to Inventory > Operations > Scrap
- Create a scrap order and select Location.
- It will only show locations that have stock on hand.
No verified information in OCA: Installation, Configuration.
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.
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.