Purpose ======= Take the last expired contract end date if there is not open contract for the related employee. closes odoo/odoo#156326 Taskid: 3610709 X-original-commit: c6ddecc09361cde4580242dc4f87594e78e51a57 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>