Changing owner after save erpnext

How can I change owner of a doctype? My condition is that I only allow employee to see its own data not even the employees under him, so I f I set permission to owner so it will work.

1 Like