If the project does not allow timesheets, the 'timesheet' tab on task should be hidden. If the project allows timesheet but its related analytic account is inactive, the warning message will be displayed to avoid user to record timesheets. Task #1857652