콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5579 화면

Hi,

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
  • ...
아바타
취소
베스트 답변

Hi,

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.

아바타
취소
작성자

Thanks for your response!. Just one quick question, by localization you are refering to warehouses?

Yes .you need to define locations for each warehouse (location output,location stock and sometimes location input).

Is there also some check within a warehouse on localization? E.g. length of path to root. Or only on name of location. So if I have stock / Z-001 and stock / second floor / A-001 will stock be first taken from Z-001 (shortest route) or A-001 (alphabetical)?

Plz post a new question from this subject.

The products are taken from locations according to the order of the stock.location object. You can define an new order by modifying the _order of this object.

관련 게시물 답글 화면 활동
0
3월 15
3620
1
3월 15
4248
0
3월 15
5990
1
7월 25
2343
2
1월 22
9653