Stock availability in SO line for all the warehouses
sale_stock_qty_at_date_widget_multi_warehouse · OCA/sale-workflow
Health
60/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 5 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis
0 migration notes
1 model
1 view
0 HTTP endpoints
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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.