Stock Lot Filter Available
This module allows us to filter lots by available on our stock.
auto_awesome What this module does
AI-generated from the code · Odoo 15.0Adds an "On hand" filter to the lot/serial number search screen, so users can quickly show only the lots that still have stock available in Odoo.
This module makes it easier to find the lots and serial numbers that still have stock on hand. It adds a new filter called "On hand" to the search bar of the lot/serial number list (the stock.production.lot screen). When you switch it on, Odoo only shows lots whose available quantity is greater than zero.
The available quantity is worked out from the stock quantities recorded in internal and transit locations, so only real on-hand stock is counted. Lots that have no stock left are hidden when the filter is active.
Because the quantity used by the filter is a searchable value, the same logic can be used in other searches on lots, for example to look for lots with a quantity equal to zero, greater than a value, or below a value. Unsupported search comparisons are rejected.
- Where it appears: the search bar of the lot/serial number screen, next to the product filter.
- What it adds: an "On hand" filter that keeps only lots with available stock.
- Business rule: availability is based on quantities in internal and transit locations.
- Areas touched: lot/serial numbers (
stock.production.lot) and stock quantities (stock.quant).
Depends on
Models and fields (1)
- stock.production.lot · extends an existing modelproduct_qty
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-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/stock-logistics-warehouse.
terminal Installation and usage
OCA documentation · Odoo 15.0Usage
Source · Odoo 15.0To use this module:
- Go to Inventory > Products > Lots/Serial Numbers.
- Press Filters > On hand.
Now you will see just the lots with stock.
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.