Stock picking filter lot
This module extends the functionality of stock: in a picking out or a scrap the user can only select the lots available in the origin location.Lots must have a company assigned to them for proper filtering.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0When you pick or scrap a tracked product, the lot/serial number list only shows lots that are actually available in the source location, so you cannot select a lot that is not there.
This module makes lot and serial number selection smarter during warehouse operations. It adds a computed "Locations" field on lots (stock.lot) that lists every location where that lot currently has positive stock, based on its quants.
Because of this, the lot dropdown is filtered in three places:
- In the detailed operations list of a transfer (
stock.move.line), the lot field only offers lots of the same product, in the same company, that are present in (or below) the source location of the move line. - In the scrap form (
stock.scrap), the same filtering applies, so you can only scrap a lot that is available in the chosen source location. - The source location field on the scrap form is now only shown to users who have both the multi-locations and the lot/serial tracking settings enabled.
No new menus or reports are added; the change is purely a restriction on what you can choose. The lot list is recalculated automatically whenever the lot's stock quantities or their locations change. Lots must have a company assigned for the filtering to work correctly.
Depends on
Required by other modules
Models and fields (1)
- stock.lot · extends an existing modellocation_ids (Locations)
Text generated by AI (DeepSeek) from reading the Odoo 19.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: 8 confirmed, 1 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/stock-logistics-workflow.
terminal Installation and usage
OCA documentation · Odoo 19.0Usage
Source · Odoo 19.0To use this module:
- Go to an open picking or a scrap with products that are tracked by lots.
- When you enter detailed operations you will notice that the lots available to select are filtered by the origin of the operation.
- Note that lots must have a company assigned to them for proper filtering.
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.