If your company has multiple warehouses, it is likely that a client's order will be fulfilled from a specific warehouse because of proximity and logistics.
Rather than navigating through complicated inventory routes, you can set a default warehouse for each contact. This way, each sale order will create a stock delivery order with an origin location from the previously selected warehouse.
Let's see how it's done.
Step 1. Make sure you have more than one warehouse previously configured in your Inventory module.
You can do this by going to Inventory > Configuration > Warehouses
Step 2. Activate debug mode ( also called the developer mode, depending on your database version ).
Go to Settings > General Settings > Scroll all the way down > Select Activate developer mode .
This will reload the page and add a bug icon at the top right corner (as shown below).
Step 3. Create a new sale order as seen below.
Step 4. Set the customer in the Customer ( partner_id) field.
Step 5. In the Extra Info or Other info tab select the correct fulfillment warehouse in the Warehouse (warehouse_id) field.
Step 6. Click on the bug icon > Set Defaults
Step 7. In Set Defaults pop up window, fill out the information as follows:
Default: Select your warehouse here. (eg Warehouse = Warehouse 2)
Condition: Select your customer here. (eg Customer = Azure Interior)
Select the All users radio button, which will set this default no matter who is creating the sale order.
Click on Save Default .
All done! Now, every time you create a new sale order for Customer x, the Delivery Order will be created from the correct Warehouse, without having to manually change it every time.