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

I am trying to use the Supply Method "If unavailable, trigger another rule" in a route in Odoo V13.

The goal was to create a pick from a sales order, but when the pick location (wh/stock/pick) is empty, it should be picked from a different location in my warehouse (wh/stock/bulk).

I have added this route to my normal "pick" (standard Odoo for 2 step deliveries).

And after that, I have added another rule, an internal transfer, from the different location (wh/stock/bulk) to the pick location (wh/stock/pick). Here I have added the supply method "Take from Stock". 

The result is that an extra step is added to the delivery process (Internal, pick, ship).  This is always, meaning it works exactly the same as the supply method "trigger another rule", i.e. it doesn't take into account the stock in the location wh/stock/pick and the internal transfer is always created. And you are not able to pick the product from the pick location (wh/stock/pick), because it needs to be on the (wh/stock/bulk) location.

I see that this is being used in standard MTO routes from Odoo, but here also, the available stock is always skipped.

Is it possible that this supply method "If unavailable, trigger another rule", is not working as expected?

If not, what is the goal of this supply method? How can I make this work?

Avatar
Discard

I'm in the same case. In the 3 steps scenario, I want to only move material from pick location that is not available in the pack zone.

Hello,

It doesn't seem to work with this Scenario:

- I have 2 warehouses HD/stock and SD/Stock

- I have 1 qty of Article ABC in HD/Stock, and 5 qty of Article ABC in SD/Stock

- I  create a  roule  with  these  rules : 

     - Rule #1  :  "Pull From"; "From HD/Stock to Customer location"; "take from stock, If unavailable, trigger another rule"

     - Rule #2  :  "Pull From"; "From SD/Stock to HD/Stock"; "take from stock, If unavailable, trigger another rule"

- I confirm a Sale Order with one  item  line  of 5 qty of Article ABC to a Customer

- it does this

    - 5 from SD/Stock to Customer location

But

    - I want 1 delivery order with : 1 from HD/stock , 4 from SD/Stock, both to Customer location

Anyone help ? :)

Author Best Answer

Hi,

Since I did not receive an answer here, I logged the issue to Odoo. They have picked up & solved the issue in a quite early v13 version of Odoo. So normally, you should not have this issue anymore.


To solve it, you can select in the rule in the pack-step: "take from stock, If unavailable, trigger another rule" . Instead of the standard "trigger another rule".
When you do this, the system will take from stock what you need in the pack step, if there is nothing available in your pack location, it will create the pick step.

Avatar
Discard