It is not properly unlinked because it is a m2o required with ondelete='set null' Fixes #25078 closes odoo/odoo#30617
a53bea49fe