[IMP] status of contract on task, issue and sale order

- Task: https://www.odoo.com/web#id=9258&view_type=form&model=project.task&menu_id=3942&action=327
- Pad: https://pad.odoo.com/p/r.6XynUXUW6cac35nF
If there is no customer and use_tasks is false in project so the contract status are hide on task form for these reason used the function fields.