You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This recent commit 006ab22 in odoo regarding this issue #75236 is causing some regressions
Setup:
2 warehouses configured in 2 step reception: WH & WH2
Product A with no stock, the default buy route and a supplier
An orderpoint in each warehouse
orderpoint on WH (max 30)
orderpoint on WH2 (max 20)
Case 1
Run the scheduler.
Expected result: A PO of 30 for the WH and a PO of 20 for WH2.
Wrong result: A PO of 30 for the WH and no PO of 20 for WH2.
Case 2
Resupply WH2 from WH by configuring it on the warehouse and enabling the route on the product. Configure the product or rule as MTO (so the resupply will purchase and not take from WH stock)
Run the scheduler.
Expected result: A PO line of 30 for the WH, a move of 20 from WH to WH2, and a PO line of 20 for WH.
Wrong result: A PO of 30 for the WH, a move of 20 from WH to WH2 and no PO of 20 for WH2.
@jbaudoux Hello, for case 2, may I ask why you have set up two different routes to resupply the same warehouse for the same product ? In my opinion the expected result for case 2 should be : A PO line for 50 qty, and a move of 20 from WH to WH2
I think you are right that it should create one PO line of 50. Since the change, it is only creating a PO line of 30 and nothing for the MTO need of 20.
This recent commit 006ab22 in odoo regarding this issue #75236 is causing some regressions
Setup:
Case 1
Run the scheduler.
Expected result: A PO of 30 for the WH and a PO of 20 for WH2.
Wrong result: A PO of 30 for the WH and no PO of 20 for WH2.
Case 2
Resupply WH2 from WH by configuring it on the warehouse and enabling the route on the product. Configure the product or rule as MTO (so the resupply will purchase and not take from WH stock)
Run the scheduler.
Expected result: A PO line of 30 for the WH, a move of 20 from WH to WH2, and a PO line of 20 for WH.
Wrong result: A PO of 30 for the WH, a move of 20 from WH to WH2 and no PO of 20 for WH2.
@agr-odoo @amoyaux
The text was updated successfully, but these errors were encountered: