Method `_onchange_workorder_ids` will create workorder_ids for the the selected bom but it was not re-setting it on removing BoM. It was causing issue on `_action_confirm` as Bom for the selected WO will not be found. closes odoo/odoo#69662 Fixes: #68261 X-original-commit: 13832912daafad7c472d7414eaacede9e302e787 Signed-off-by: Rémy Voet <ryv-odoo@users.noreply.github.com>