It's my pleasure to help you.
I will let you know how to solve this case in both V8 And V9
Solution For odoo version v9
Step 1 Make configuration
To do the configuration you can go to Inventory -> Configuration ->
Setting->
Location and Warehouse
Multi-Location -> Manage several locations per warehouse
Routes -> Advanced routing of products using rules

Step 2 Create the WareHouse
Create the 2 Ware House Named (for example WH A and WH-B) as per your
requirement.
TO do so you can go to this path Inventory -> Configuration ->
Setting -> Warehouse Management -> Warehouse

Step 3 Define the resupply warehouse
TO do so you can go to this path Inventory -> Configuration ->
Setting -> Warehouse Management -> Warehouse

Step 4 Create Product

Step 5 Configure the Routs
To configure the routes You can go to Inventory -> Product ->(In
selected or newly create product) Inventory -> Routs -> select the
appropriate route

Hint:
You can also go to the
Purchases -> Product ->(In selected or new created product) Inventory -> Routs -> select the appropriate route
Step 5 Define new reordering rule for the procurement
TO do so you can go to Inventory -> Configuration -> Routes ->
Select your route/ create new

Step 6 Define Push Rule/ Define Routes
TO do so you can go to Inventory -> Configuration -> Routes -> Select
your route/ create new -> Push Rule

Solution For odoo version v8
Go to this link for V8
https://www.youtube.com/watch?v=ju7MtCXlCFk
Now by performing the sales & other operation, you can check your issue will solve. still, If you are having problem Comment here. I will try my best to help you.