Relation to Odoo 19.0 core
Core 19.0 website_sale_stock uses free_qty (on-hand minus
reservations) for eCommerce availability. This module swaps in
immediately_usable_qty (Available To Promise — includes incoming
moves), which matters for businesses with ongoing inbound supply where
incoming stock should be sellable before it arrives.
Table of contents
To configure this module, you need to:
- Go to Inventory > Products > Products and edit a product that you
only want to sell in the eCommerce if there is enough stock.
- Navigate to Out-of-stock (continue selling) field in the Sales
tab and unset it.
To use this module, you need to:
- Go to your eCommerce.
- Select a product that you has been 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 cart if Available
quantity (not Free to use quantity) is equal or less than zero.
Besides, availability messages will be based on the Available
quantity instead of the Free to use quantity.

Bugs are tracked on GitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
feedback.
Do not contact contributors directly about support or help with technical issues.
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
This module is part of the OCA/e-commerce project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.