We are trying to figure out which algorithm is applied by OpenERP to select the products from the inventory when orders are made.
As an example, imagine we have a product stored in two different stock locations:
- Location #1: 3 units
- Location #2: 10 units
If an order arrives requesting 11 units of this product, how does the scheduler decide from which location/locations will units be picked?. Some alternatives would be:
- All units from #1 and 8 from #2
- All units from #2 and 1 from #1
- 2 units from #1 and 9 from #2
OpenERP searches the locations in order of localization then by name if they have the same localization.
You have defined "Location #1" and "Location #2". Every time it finds a product it looks for, it tries to get as much as needed from that location, until the order is fulfilled.
so you get : All units from #1 and 8 from #2.
If you want to have a different logic, you must create a new module.
About This Community
|Asked: 5/14/13, 6:14 AM|
|Seen: 1650 times|
|Last updated: 3/16/15, 8:10 AM|