Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Sales (sale_management)
• Discuss (mail) • Invoicing (account) • Inventory (stock) |
Lines of code | 230 |
Technical Name |
warehouse_selector_sale_orders |
License | OPL-1 |
Versions | 15.0 16.0 17.0 18.0 |
Sale Lines Multi Warehouse

Enhance your sales order management with the Sale Lines Multi Warehouse app. This app allows you to select multiple warehouses for each sale order line, enabling you to deliver goods from different locations for the same product. If no warehouse is selected, the system will automatically use the default warehouse.
Features

Multiple Warehouse Selection.
- Choose multiple warehouses for each sale order line.
- Ensure products can be sourced from various locations to meet customer demands.

Automatic Warehouse Quantity Selection.
- If the main warehouse lacks sufficient stock, the system will automatically allocate the remaining quantity from other warehouses within the same company.
- Streamline your inventory management and reduce the risk of stockouts.

Automated Delivery Orders
- When multiple warehouses are selected, either manually or automatically, Odoo will create separate delivery orders for each warehouse.
- Simplify the logistics of fulfilling orders from multiple locations.
Benefits

Improved Order Fulfillment.
Meet customer demands more efficiently by utilizing stock from various warehouses.

Optimized Inventory Management
Automatically balance stock across multiple locations without manual intervention.

Enhanced Operational Efficiency
Reduce delays and errors in order processing with automated delivery order creation.
Configuration
Enable Auto Select Warehouse Quantity
To enable the Auto Select Warehouse Quantityfeature, go to Sales → Configuration → Settings →
Quotations & Orders, and check the Auto Select Warehouse Quantity box.
This option allows the system to automatically select quantities from other warehouses
if the main warehouse does not have enough stock.

Detailed Flow
Currently Available Warehouses and Product Quantity
We currently have two warehouses: Pune Warehouse and Mumbai Warehouse. Here is the available product quantity:
- Pune Warehouse:
- Mobile: 5 units
- Mobile Back Cover: 10 units
- Mumbai Warehouse:
- Mobile: 5 units
- Mobile Back Cover: 10 units

Complete Demonstration of Sales Order and Delivery Order
We created a new Sales Order S00012 and added two products: Mobile (7 units) and Mobile Back Cover (17 units). With the 'Auto Select Warehouse Quantity' option enabled, Odoo automatically picks the maximum quantity from the main warehouse (Pune). If the main warehouse does not have enough stock, Odoo will search other warehouses in the same company to fulfill the order. In this case, if the Pune warehouse cannot fulfill the requirement, the remaining quantity will be picked from the Mumbai warehouse.
For the product Mobile, we set 7 units, but we have only 5 units in the Pune warehouse and 5 units in the Mumbai warehouse. So, Odoo picked 5 units from the Pune warehouse and 2 units from the Mumbai warehouse. For the Mobile Back Cover, we set 17 units. We have 10 units in both the Pune and Mumbai warehouses. Odoo picked 10 units from the Pune warehouse and the remaining 7 units from the Mumbai warehouse.
This quantity selection is performed automatically. If the configuration is disabled, users need to manually set the quantities from different warehouses.
Odoo created two delivery orders for the same sales order: one for the Pune warehouse (WH/OUT/00007) and one for the Mumbai warehouse (WH2/OUT/00005). Once the products are delivered from the warehouses, the same quantities are reflected in the sales order.

Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module