Stock availability in SO line for all the warehouses
This module makes the availability icon shown next to the quantity on a sales order line take into account the stock available on every warehouse, not only the warehouse assigned to the sales order line.
The widget icon next to the quantity is colored as follows:
- Blue/purple (the original color): there are enough stock on the line's own warehouse to fulfill the demand.
- Yellow: the line's own warehouse can not fulfill the demand on its own, but the demand can be satisfied by gathering the stock of all the warehouses.
- Red: there is not enough stock to fulfill the demand even when gathering the stock of all the warehouses.
Clicking on the icon opens the availability popover, which now also shows a breakdown of the available quantity on each warehouse.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0The availability icon on sales order lines now considers stock from every warehouse, not just the line's own warehouse. It turns yellow when only all warehouses together can cover the demand and red when even that is not enough.
When you look at a sales order line, the small chart icon next to the quantity tells you whether the product can be delivered on time. Before, it only looked at the warehouse assigned to that line. With this module, it also checks the stock of all other warehouses of the same company.
- The icon stays in its original colour when the line's own warehouse has enough stock.
- It turns yellow when the line's own warehouse is short but the combined stock of all warehouses is enough.
- It turns red when there is not enough stock even across all warehouses.
Clicking the icon opens the usual availability popover, which now includes an extra "Availability per Warehouse" table. It lists each warehouse with its available quantity and shows a bold Total line. The warehouse of the line is highlighted in bold, and the total turns red when it does not cover the demand.
The quantities shown follow the same logic as the standard widget: free quantity for confirmed sales orders and forecasted quantity otherwise. The module adds a technical field on sale.order.line and a small view change on the sales order form so the widget can read the per-warehouse data. It does not create new menus or reports.
Depends on
Models and fields (1)
- sale.order.line · extends an existing modelqty_at_date_per_warehouse
Text generated by AI (DeepSeek) from reading the Odoo 18.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-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/sale-workflow.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.