OdooWiki OCA HUB

Stock available to promise

stock_available folder_open OCA/stock-logistics-availability open_in_new
Warehouse License: AGPL-3

This module proposes several options to compute the quantity available to promise for each product. This quantity is based on the projected stock and, depending on the configuration, it can account for various data such as sales quotations or immediate production capacity. In case of immediate production capacity, it is possible to configure on which field the potential is computed, by default Quantity On Hand is used. This can be configured in Inventory \> Configuration \> Settings.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds an "Available to promise" quantity and a "Potential" quantity to products, shown as buttons on the product form, columns in product lists and a line on the product kanban card, so users can see how much stock can safely be offered to customers.

This module gives every product two new computed quantities: "Available to promise" (the stock that can safely be proposed for sale to customers) and "Potential" (the quantity that could be produced from materials already at hand).

Where it appears: - On the product form (both product and product variant), two new stat buttons labelled "Available" and "Potential" are added next to the forecast button; clicking them opens the stock quantities screen. They are hidden for products that are not storable. - In the product list views, a new "Available to promise" column is added after the forecasted quantity; it is shown in red when negative and is visible to inventory users. - On the product kanban card, an "Available to Promise" line is displayed when the on-hand quantity status is shown.

How the values are calculated: - For a single product variant, "Available to promise" starts as the forecasted quantity and "Potential" is zero. Other modules can extend these calculations. - For a product template with several variants, the available quantity is the sum over variants of (available minus potential), plus the largest potential among the variants; the template's potential is that largest variant potential. - The values react to the forecasted quantity and to context such as lot, owner, package, dates, location, warehouse and allowed companies.

Users can also search products by "Available to promise" using comparison operators. The module only adds these fields and views; it does not create menus or scheduled actions.

Depends on

stock
Models and fields (2)
  • product.product · extends an existing modelpotential_qty (Potential), immediately_usable_qty (Available to promise)
  • product.template · extends an existing modelpotential_qty (Potential), immediately_usable_qty (Available to promise)

Text generated by AI (DeepSeek) from reading the Odoo 19.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 8 confirmed, 1 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 19.0

By default, this module computes the stock available to promise as the virtual stock. To take advantage of the additional features, you must define on which information you want to base the computation, by checking one or more boxes in the settings: Inventory \> Configuration \> Settings \> Stock available to promise. In case of "Include the production potential", it is also possible to configure which field of product to use to compute the production potential.

This module adds a field named Available for sale on the Product form. Various additional fields may be added, depending on which information you chose to base the computation on.

No verified information in OCA: Installation.

info

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.