Hi, we are implementing Odoo so I'm a newbie here....
I'm trying to prevent a pull rule from triggering in a route based on the virtual quantity available in the warehouse. I read that this might be achievable using domain filters (maybe I missunderstood)
What I want to do is create a route with two pull rules originating from the partners/customers location. The first rule, with higher priority, should try to take stock from warehouse A. If not available in Warehouse A, maybe it will trigger the second rule from warehouse B.
This approach would allow me to reduce the number of routes and make the sales process more user-friendly without using virtual warehouses.
The route I want to achieve would something like this (simplified to explain what I need)
A/Stock -> A/Packing -> A/Out -> Partners/Customers
But if there is no stock in A/Stock, execute:
B/Stock -> B/Packing -> A/Out -> Partners/Customers
This is because I want to transfer already packed products to avoid reception process and I don't want to sales people to select from too many routes (We have several warehouses)
Can this be achievable?
Thank you, Jaideep, your explanation was very clear. I have one more question for you.
Using the logic you showed me, is there a way to auto-cancel the items from order WH/PICK/00002 that were requested from WH2 to avoid accidentally duplicating the delivery?
The operation would not reserve the items that are not available, so I guess the only way to duplicate pick would be to manually change the done qty.
The case in your post might be representing only 1 of many scenarios. I would believe in practice a sales order might have multiple products with availability across WHs or maybe partial quantities of a product available in main WH.
These might require decisions on how and where these orders would be fulfilled prior leading to canceling the operation.
If I understand correctly your intention is to modify the demand qty of the product in the 1st operation. Am not certain if that is possible.