Since it is not possible to create a timesheet entry on a issue without a project_id, the timesheets page in the form view should be hidden if no project is set. This prevents the user from trying to create a timesheet entry on the issue and receive a not so transparent message like: mandatory field is not set: [object with reference: account_id - account.id]