Steps to reproduce the issue: - Create a presentation in a course (model `slide.slide`) - Create an entry referencing the presentation in `slide_embed` table - Remove the presentation from the course and save the changes Bug: A validation error was raised opw:2902062 closes odoo/odoo#99468 X-original-commit: e5c239fcef2ee29856428c8f0d337fffc0a22e56 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com> Signed-off-by: Simon Goffin <sig@odoo.com>