Tasks that are closed for time entry are added to the timesheet when selecting the assigned tasks in the Modern UX timesheets
STEPS TO REPRODUCE:
1. Create a project and add a team member
2. Create two tasks: one with the OTE flag on and the second one with the OTE flag off
3. Assign the team member to the tasks
4. Go to MUX timesheet, open a timesheet for the resource above
5. Click on Add Assigned Tasks
6. The tasks which have the OTE flag on are added
7. Follow the same steps for a custom investment
8. On the timesheet, click on Add Assigned Tasks
Expected Results: The task with the OTE flag on is added. The task with the OTE flag off should not be added.
Actual results: Both tasks with and without the OTE flag are added.
Clarity 16.0.X
This is caused by DE66033
This is fixed in 16.1.0 and backported to 16.0.3.1