'This method will create entry in resource calendar leave object at the time of holidays cancel/removed'

@api.multi
def _remove_resource_leave(self):

    return self.env['resource.calendar.leaves'].search([('holiday_id', 'in', self.ids)]).unlink()
