Login to your admin odoo account: https://ais-main.odoo.com/
Go To Employees
3. Choose the Leaving staff
a. Edit
b. HR Setting
C. Delete (remove) Related user (Simply wipe out the name) then Save
4. a. Edit
b. Work Information
c. End Date
d. Save
4. Click on Action --> Archive
Add Reason of leaving then OK