[ADD] URL shortener

TASK : https://www.odoo.com/web#id=8277&view_type=form&model=project.task&menu_id=3942&action=327
Use self.pool[model]. Indeed otherwise in case of missing model, it will return None. Performing search on None will give you an error "None has no attribute search", which is difficult to understand.