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

Hi everyone,

I’m struggling with a specific case in Odoo (v18, Enterprise on Odoo.sh) and I’d like to know if anyone has managed to configure this without custom development.

👉 Scenario:

  • We have a location WH/Pre-Production.
  • When a Manufacturing Order (MO) is launched, Odoo creates a picking WH/Stock → WH/Pre-Production (Pick Components).
  • In practice, the forklift driver always moves the full box (e.g. 50 units), even if the MO only requires 10.

👉 What happens now:

  • After the MO is validated, Odoo consumes only the 10 units.
  • The remaining 40 units stay in Pre-Production as free stock.
  • The next MO ignores those 40 and triggers a new picking from WH/Stock, leaving leftovers piling up in Pre-Production.

👉 The logic I need:

  • If in Pre-Production we have:
    • On Hand > Forecasted (i.e. there is more stock than what is reserved to be consumed),
    • then the difference should be considered surplus and should be automatically (or semi-automatically) pushed back to WH/Stock.

👉 What I tried:

  • I created a second operation type Return (WH/Pre-Production → WH/Stock).
  • Then I added a push rule with conditions like:
    • Forecasted Quantity > 0
    • On Hand Quantity > 0
  • But Odoo rules only allow comparing against fixed numbers, not against each other.

👉 Question:

Has anyone found a standard way to handle this kind of “return of surplus to stock”?

  • Is there a way to configure routes/rules so that Odoo detects On Hand > Forecasted and pushes back the difference?
  • Or do I really need a Server Action / custom module to implement this logic?

Any advice or shared experience would be super helpful 🙏

아바타
취소
베스트 답변

Hi,

Changing the rule to “Take From Stock, if unavailable, Trigger Another Rule” will solve the part where Odoo ignores leftovers in Pre-Production. With this configuration, the next Manufacturing Order will first consume any stock already available in Pre-Production (such as the extra 40 units) and will only trigger a new transfer from WH/Stock if there is a shortage.

However, this does not automatically return surplus stock from Pre-Production back to WH/Stock. The extra quantities will stay in Pre-Production until another MO uses them. If your process allows Pre-Production to act as a buffer, this setup is sufficient. If the requirement is to always clear Pre-Production after each MO, you’ll still need a return flow, either manual or through a small custom automation.

https://www.cybrosys.com/blog/how-to-set-up-efficient-putaway-rules-in-odoo-18-inventory

https://www.youtube.com/watch?v=SQJ79Bkp-rY

Hope it helps

아바타
취소
베스트 답변

What happens when you modify the Pre-Production --> Production Rule?

Instead of "Trigger Another Rule" change it to "Take From Stock, if unavailable, Trigger Another Rule":


Wouldn't you rather Odoo look in Pre-Production and take what the forklift driver left there, triggering another Picking only if/when needed?

아바타
취소
관련 게시물 답글 화면 활동
1
7월 25
632
0
4월 17
2756
3
3월 15
8659
0
3월 15
3945
1
8월 24
1718