[IMP] hide contract link from project view if customer is not define

- Task: https://www.odoo.com/web#id=7413&view_type=form&model=project.task&menu_id=3942&action=327
- Pad: https://pad.odoo.com/p/r.KhHBgxwl04WHFjTW
What's the point of setting type to normal, then checking for template / contract ? There is something strange in your code.