OdooWiki OCA HUB

Sale Stock Available Info Popup

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

This module extends the functionality of 'Sale Stock' module to add the 'Available to promise' quantity of the corresponding product to the pop-up that show stock information at sales order line level.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds an 'Available to promise' quantity to the stock information popover shown on sale order lines, so salespeople see how much of a product can actually be promised for the line's scheduled date.

This module enriches the stock information popover that appears on sale order lines with an extra line called 'Available to promise'.

  • On each sale order line, a new computed quantity is calculated: the product's immediately usable quantity, taken for the line's warehouse and scheduled date.
  • The calculation respects the order of the lines: if the same product appears on several lines, the quantity already committed to earlier lines is subtracted, so each line shows what is still genuinely available for it.
  • Quantities are converted between the product's unit of measure and the line's unit of measure when they differ.
  • The value is only computed for lines that have a product and that display the quantity widget.

The result is displayed in the popover that opens from the quantity-at-date widget on sale order lines, both in the order lines list and in the order line form dialog. The popover shows the 'Available to promise' figure next to the line's unit of measure.

It touches the sale order line model (sale.order.line) and relies on the stock availability logic from the stock_available module. No new menus, buttons, checks or scheduled jobs are added; the module only adds information to an existing screen.

Depends on

sale_stockstock_available
Models and fields (1)
  • sale.order.line · extends an existing modelimmediately_usable_qty_today

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: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/stock-logistics-availability.

terminal Installation and usage

OCA documentation · Odoo 19.0

To use this module, you need to:

  • Go to Sales \> Orders \> Quotations and create a new one.
  • Add a sale order line with a storable product.
  • Click on the chart icon of the line and you will see in the popover the 'Available to promise' quantity of the corresponding product.

Note: the quantity is computed at the line level, so if the same product is added in several lines, every line discounts the quantities of the previous ones. The commitment date of the order and the warehouse of the line are taken into account as well.

No verified information in OCA: Installation, Configuration.

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.