Steps to reproduce the bug: - Create Product P: with BOM type - Kit and BOM components > Set - Invoicing: on delivered quantity - Create PO with P and confirm - shipment 1 will be generated - Cancel the PO - shipment 1 - will also get canceled - Reset the canceled PO to quotation and confirm it - new shipment 2 will be generated - Validate the shipment and receive product KIT Bug: Check PO - 'Received Qty' was not updated Inspired from: https://github.com/odoo/odoo/commit/c2dfdc3081764a492a94024f1fb57e15636b04c9 opw:1889303 closes odoo/odoo#27622