Files
odoo_source/addons
Alvaro Fuentes 854211cee7 [FIX] mrp: fix qty_available for kit with sub-kits
On this situation:
* P1 consumable product, kit, with components P2 and P3 in its BoM using
  1 of each
* P2 comsumable product, kit, with component P3 using 1 in the BoM
* P3 storable product, 10 units in stock

Before:
The qyt_available for P1 is 10. That's incorrect: to assemble one P1 we
need precisely two of P3s, one for P2 BoM then an extra for P1 BoM.

After:
The qyt_available for P1 is 5.

closes odoo/odoo#122939

X-original-commit: b32554322d4c26665bdcb29fd58bb95f12faa20e
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Signed-off-by: Alvaro Fuentes Suarez (afu) <afu@odoo.com>
2023-05-31 09:23:13 +02:00
..
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-11 18:25:38 +02:00
2023-05-10 19:16:47 +02:00
2023-05-10 18:16:24 +02:00
2023-05-10 18:16:21 +02:00
2023-05-10 20:15:02 +02:00
2023-05-10 20:14:59 +02:00
2023-05-11 18:24:53 +02:00
2023-05-10 20:15:12 +02:00
2023-05-11 10:40:53 +02:00
2023-05-11 10:40:55 +02:00
2023-05-10 18:16:19 +02:00
2023-05-17 16:48:30 +02:00
2023-05-12 09:21:49 +02:00
2023-05-10 20:15:20 +02:00
2023-05-25 16:29:11 +02:00
2023-05-23 18:01:49 +02:00
2023-05-22 17:52:07 +02:00