This module adds a "stock state" field on the product in order to inform the user of its general stock state at a glance.
The state value can be :
- In Stock
- In Limited Stock (if qty available is under a threshold)
- Resupplying (if qty forcasted is \> 0)
- Out of Stock (otherwise)
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds a computed stock state (In Stock, In Limited Stock, Resupplying, Out Of Stock) to products, based on a configurable threshold set at company, category or product level.
This module gives each product a simple stock status label so users can see at a glance whether it is available, running low, being resupplied or out of stock.
The status is calculated automatically from the product's available quantity and incoming quantity. A product is 'In Stock' when its available quantity is above the threshold, 'In Limited Stock' when it is above zero but at or below the threshold, 'Resupplying' when there is incoming quantity, and 'Out Of Stock' otherwise.
The threshold can be defined at three levels, from most specific to most general: - On the product itself, in the Stock Threshold section of the product form. - On the product category, in the Stock Threshold section of the category form. - On the company, in the Stock parameters tab of the company form and in the Inventory settings screen.
If no value is set on the product, the category value is used; if the category has none, the company value applies. The company default is 10.
The stock state appears as a column in the product stock list view, next to the forecasted quantity. Two hidden access groups control whether thresholds can be set by product or by category. A decimal precision named Stock Threshold is also created.
Depends on
Models and fields (5)
- res.company · extends an existing modelstock_state_threshold
- product.product · extends an existing modelstock_state
- product.category · extends an existing modelstock_state_threshold, manual_stock_state_threshold
- product.template · extends an existing modelstock_state_threshold, manual_stock_state_threshold
- res.config.settings · extends an existing modelstock_state_threshold (Stock State Threshold)
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-03Confirmation status: 6 confirmed, 3 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/product-attribute.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0You can configure thresholds :
- Globally, for a company, in the Sale Settings. It will be used for all the products of the company.
- On product category form. It will be used for all the products of this category, or of the child categories. (User should be part of the new group 'Stock State Threshold by Category'.)
- On product template form, for a specific product. (User should be part of the new group 'Stock State Threshold by Product'.)
Usage
Source · Odoo 18.0Open product tree view and observe the stock state
No verified information in OCA: Installation.
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.