OdooWiki OCA HUB

Sale Stock On Hand Popup

sale_stock_on_hand_popup folder_open OCA/stock-logistics-warehouse open_in_new
Warehouse Management License: AGPL-3

This module allows user to check from sale order line all inventory lines related to that product.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Adds a stock-on-hand button on sale order lines that opens a popup listing the product's stock quants (locations, lots, packages, quantities). A setting lets you also include transit locations.

This module adds a small arrow button next to the quantity widget on sale order lines, both in the order lines list and in the line detail form. Clicking it opens a popup showing the stock quants of that product, so salespeople can see where the stock actually is before confirming a sale.

The popup lists, for each stock quant: the location, the lot/serial number (if lot tracking is enabled), the package (if package tracking is enabled), the owner (if owner tracking is enabled), the available quantity, the quantity, the unit of measure and the company (if multi-company is enabled). A Close button ends the popup.

By default only internal locations are shown. In Inventory settings, under a new "Sale Stock on Hand" section, you can tick "Display also transit location lines in sale line stock popup" to include transit locations as well. This option is controlled by a hidden group, so it can also be granted per user.

The module touches product.product (to build the popup action), sale.order (to add the button on order lines), res.config.settings (for the setting) and introduces the product.quant.wizard model used by the popup. It depends on sale_stock and stock_available.

Depends on

sale_stockstock_available
Models and fields (3)
  • product.product · extends an existing model
  • res.config.settings · extends an existing modelgroup_show_transit_location_stock_wizard (Display also transit location lines in sale line stock popup.)
  • product.quant.wizard · new modelproduct_id, stock_quant_ids

Text generated by AI (DeepSeek) from reading the Odoo 14.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/stock-logistics-warehouse.

terminal Installation and usage

OCA documentation · Odoo 14.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 icon in the line and you will see in the popover the '-> View Stock' button that will redirect the user to a 'Stock Lines' page for the specific product.

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.