This commit prevents deleting worklocations if they are used as default of an employee. In case the worklocation is deleted, exceptions using that worklocation are also deleted. task-3527196 closes odoo/odoo#137502 Related: odoo/upgrade#5260 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>