A company can have multiple warehouses. The products from one warehouse can be resupplied from another one. Odoo facilitates an option to resupply goods and raw materials from other warehouses. This will be done when goods are not available in one warehouse.
Go to - Inventory - Configuration - Odoo Warehouse - Check Buy to resupply, manufacture to resupply, and choose the corresponding warehouse from where you want to resupply.
You can see resupply options.
Buy to resupply: Buy products to resupply or raw materials to resupply.
Resupply from: From which warehouse wants to resupply products?
When you are creating a sale order from the subsidiary warehouse, the product's route must be set as resupply from which warehouse.
Shipping must be done from the subsidiary warehouse in the sale order.
On confirming the sale order, three transfers will be created.
One: Main warehouse delivery
Two: Subsidiary warehouse receipt
Three: Subsidiary warehouse delivery
we must validate the delivery from the main warehouse