This module extends the functionality of 'Product Availability' module (Technical name: website_sale_stock) so that for the 'Website shop' the 'Free' quantity of a product is taken into account instead of 'Forecasted' quantity.
This image shows where you can see those quantities:
|
If a product is configured to 'prevent sales if not enough stock' (see configuration section) and its page is accessed in the Website Shop, the availability messages will be based on the 'Available' quantity instead of 'Forecasted' quantity. And also, the Website shop wont allow you to buy more products than 'Available' quantity (not 'Forecasted' quantity is taken into account).
auto_awesome What this module does
AI-generated from the code · Odoo 13.0In the online shop, product availability and the maximum quantity customers can buy are based on the free quantity (stock not reserved) instead of the forecasted quantity.
This module changes how the Odoo website shop calculates and shows product availability. Normally the shop uses the forecasted quantity, which includes stock that is already promised to other orders. With this module, the shop uses the free quantity instead, meaning only stock that is actually available right now.
Where it applies: - On product pages in the website shop, the availability message and the quantity a customer can add to the cart are based on free quantity. - When a customer updates the cart, the same free-quantity rule is used, so the shop will not let them order more than what is free. - During the payment transaction step, the free-quantity rule is also applied.
Business effect: if a product is set to prevent sales when there is not enough stock, the website will block or limit purchases according to free quantity rather than forecasted quantity. This helps avoid overselling stock that is already reserved for other customers.
The module extends the product, product template and sale order models, and overrides the website shop controller for payment transactions. It does not add new menus or screens; it only changes the numbers and limits shown and enforced in the existing website shop.
Depends on
Models and fields (2)
- product.product · extends an existing model
- product.template · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 13.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 13.0
Confirmed on 2026-11-03 in branch 13.0 of OCA/e-commerce.
terminal Installation and usage
OCA documentation · Odoo 13.0Configuration
Source · Odoo 13.0To configure this module, you need to:
- Go to Inventory > Master Data > Products and edit a product that you only want to sell in the website shop if there is enough stock.
- Navigate to 'Availability' field in the 'eCommerce' tab and set one of these options:
- Show inventory on website and prevent sales if not enough stock
- Show inventory below a threshold and prevent sales if not enough stock.
- Go to Inventory > Configuration > Settings, navigate to Stock available to promise section and set the desired option. If you do not choose any, the value of 'Available' quantity will be equal to 'Forecasted' quantity.
Usage
Source · Odoo 13.0To use this module, you need to:
- Go to your Website shop.
- Select a product that you has previously configured to 'prevent sales if not enough stock' for the web product page.
- Odoo doesn't allow you to add the product to the car if 'Free' quantity (not 'Forecasted' quantity) is equal or less than zero. Besides, availability messages will be based on the 'Free' quantity instead of the 'Forecasted' quantity.
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.