When a user completes the last task for a request
through the Task Details page, the user is prompted if
he/she would like to set the request status to resolved
(or the preset status determined by the Project Manager
who sets the 'pm_set_request_status_on_task_complete'
project setting). This functionality was requested by
users in our company to be available while entering
time through the Timesheets page.
The following patch checks if the
setting is set. If it is, and the user has just
completed the last task task associated with a request,
the user gets prompted if he/she would like to set the
request status to the status specified by the
setting. The user entering the time for the task has
to be the owner of the request for this to occur.