TIP: You can type at any time to perform a new search.
Stock availability in SO line for all the warehouses
sale_stock_qty_at_date_widget_multi_warehouse · OCA/sale-workflow
- Repository
- OCA/sale-workflow · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Sales
- Folder size
- 0.04 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/sale-workflow
- Last tracking update
- 2026-08-07 08:42:48
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Carlos Roca, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
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.
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_order_form_inherit_qty_multi_warehouse |
sale.order.line.qty.multi.warehouse | sale.order | form | Inherits sale_stock.view_order_form_inherit_sale_stock_qty |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (1)
-
qty_at_date_per_warehouseJsoncompute='_compute_qty_at_date_per_warehouse'help='Technical field feeding the Qty at Date widget with the forecasted availability of the product on every warehouse at the scheduled date.'
No public methods.