TIP: You can type at any time to perform a new search.
Website Sale Stock Available
website_sale_stock_available · OCA/e-commerce
- Repository
- OCA/e-commerce · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Website
- Folder size
- 0.17 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/e-commerce
- Last tracking update
- 2026-08-07 09:06:25
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Don Kendall, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- geoip2
- System dependencies
- None
- Required by
- None
- Description
This module extends the functionality of the *Product Availability* module (technical name: `website_sale_stock`) so that for the eCommerce the *Available* quantity of a product is taken into account instead of the *free* quantity. Note that in the past the eCommerce availability was based in *Forecasted quantity*. This isn't true anymore from version 15.0. 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 *Free* quantity. And also, the eCommerce won't allow you to buy more products than *Available* quantity (not *Free* quantity isn't taken into account). ## 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.
Code Analysis ⓘ
Views touched (0)
No views found for this module.
HTTP endpoints (1)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (inherited route override) | PaymentPortal.shop_payment_transaction |
inherited | http | ALL |
Models touched (3)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…