Assignment removes after completion of tasks in ERPnext

In ERPNext Projects module assignments are automatically removes after completion of the task and in activity (bottom of the task page) it is showing that the user has removed the assignment. how to resolve this issue? I want to show the assignment even after the tasks get completed.

@sapnapokhriyal288 you have to override task class in python and remove close_all_assignment function line 144

Any other way without coding?

@sapnapokhriyal288 i think no

Set the task permission to read only so that the users will be able to see the task only.

Tried, did not worked. Is there any another way?