Skip to Content
Menu
This question has been flagged
1 Reply
1237 Views

Context: When I create a sales order for 250 units of product Alpha, I need to look into three warehouses A, B and C to see where I have the products. If I have 100 units in A, 100 in B and 100 in C, I want to create transfers to A to gather all the units needed for the order. So I need to "bring in" 100 units from B and only 50 from C. The routes I have tried seem to look for the complete quantity.
Any ideas?

Avatar
Discard

Just wanted to point out that if you point warehouse A to resupply B and C you could end up having an infinite loop, so watch out.
What you are describing seems off, but I only have 2 warehouses, so I can't confirm if it's your setup or an odoo limitation.

Author

Thanks for the headsup Apiuser.
I don't have a problem if I only have two warehouses, correct.
The problem is that Odoo looks for the 250 units in warehouse B and same in warehouse C. I want to take whatever is needed in that order A - B - C.
Why do you say that this seems off? Maybe I'm describing something wrong, he he he

Best Answer

Do validate if the 'Supply Method' on rule is set to 'Take from stock, if unavailable, trigger another rule'

The assumption is that your delivery route is something like
Pull from WH A/Stock to partner location/Customers
Pull from WH B/Stock to WH A/ Stock
Pull from WH C/Stock to WH B/ Stock

Avatar
Discard
Author

Jaideep
Yes, I'm using the supply method you indicate.
My delivery routes are like the ones you mention, yes.
The result I get is using the configuration you mentioned.

The expected transfers for the example stated should be
1. Delivery Order for 250
2. Internal Transfer(or the operation you have specified) for 150 from WH/B to A
3. Internal Transfer (or the operation you have specified) of 50 from WH/C to B

What transfers are generated in your case?

To validate if any other route might be taking precedence

Author

Jaideep
I get your point. Based on my example, the expected transfer should be:
1. Delivery Order for 250 (correct)
2. Internal transfer from B to A for all 100 units in B. With this transfer I have 200 in A.
3. Internal transfer from C to A of 50 units. With this transfer I have 250 in A.
What is happeing is that Odoo looks for the 250 in A, and then goes to B looking for 250 again, and stops there. It's not considering the actual stock.

Related Posts Replies Views Activity
2
Jan 23
1718
2
Oct 22
2054
1
Mar 21
1864
1
Dec 20
1228
0
Nov 20
1548