Show names instead of identifiers

In the doctype project, I created a new field with type LINK and option employee. And now when I select an employee, I want to display the employee’s name instead of the identifier (so I can easily know who is who). How do I do this to make sure things don’t destroy erpnext’s LINK field handling?
image

Hi @LeTienIT

You can add field in list view also.

1 Like

Hi @LeTienIT:

Customize Employee doctype, this way.

Hope this helps.

1 Like

Thank. I have a new problem: In the project, I create a field with LINK to Employee. However I want the project creator (An employee, someone who can only access his employee account) to be selectable in this field but the person this employee doesn’t have access to in the doctype List of employees. Or if it can’t be selected, is there any other way to handle it inside the server to automatically add the needed person to this LINK field?

SUMMARY: There is an employee account a (can only see access to employee a in the document type employee list) But when this employee a creates a new project, is there a way for the employee to choose in the custom_leader field? This account is employee b (department manager). If there is no way to choose, is there any other way to handle it in the server?

You can use Ignore Permissions for that particular field, that will not apply any permission which is applied to that employee.
Ref:
image

2 Likes