Automatically deleting a rating was not implemented yet. We find 2 cases : - when uninstalling a module, the same mecanism as mail.follower is used, via a res_model_id field pointing on ir.model. When this model does not exist anymore, remove all related rating. - when deleting a record, its rating should be deleted too.