Skip to content
Snippets Groups Projects
Commit 6bc4d7e3 authored by PNO's avatar PNO
Browse files

[FIX] stock: forecast on multi-step manufacturing


When in a multi-step manufacturing scenario, if there is more than enough to complete one MO, the forecast shown is wrong as it looks like it is trying to reserve more than once the quantities in stock.

Steps to reproduce:

- Activate multi-step routes and set manufacturing in 3 steps (warehouse settings)
- Create a product (Component) with UOM kg and add 200kg in stock.
- Create another product (Final product) with a BoM.
- On the BoM, set that to manufacture 100 units, 51700g should be consumed.
- Create a MO for 210 units and confirm.
- Check the forecast of the Component.

OPW-3231092

closes odoo/odoo#117455

Signed-off-by: default avatarArnold Moyaux (arm) <arm@odoo.com>
parent 76cb7393
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment