Custom field - select - employee name

Hi,

I've got the custom field setup using link:Employee which gives me a drop down select list of employees, however it is using the employee ID and I would like it to use the name for ease of use. How can I further define it to use the employee_name field?

Thanks

Paul



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/8e3ce1eb-3310-43f0-9646-c07afec828d8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

can I please get a response on this? This is relevant across a number of items.

Thanks

Paul

On Monday, 31 March 2014 10:22:14 UTC+13, Paul Dowd wrote:
Hi,

I've got the custom field setup using link:Employee which gives me a drop down select list of employees, however it is using the employee ID and I would like it to use the name for ease of use. How can I further define it to use the employee_name field?

Thanks

Paul



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/536b2521-99b7-4df0-8d78-4c27434f5916%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Paul, you can do it with a custom query, you can make a query in server side, and add change the default method for you customized look:

Server code example:

https://github.com/webnotes/wnframework/blob/develop/core/doctype/profile/profile.py#L381


Client side code example:
https://github.com/webnotes/erpnext/blob/develop/selling/doctype/lead/lead.js#L16


2014-04-03 22:11 GMT-03:00 Paul Dowd <pd…@myzealand.com>:
can I please get a response on this? This is relevant across a number of items.

Thanks

Paul


On Monday, 31 March 2014 10:22:14 UTC+13, Paul Dowd wrote:

Hi,


I've got the custom field setup using link:Employee which gives me a drop down select list of employees, however it is using the employee ID and I would like it to use the name for ease of use. How can I further define it to use the employee_name field?

Thanks

Paul



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/536b2521-99b7-4df0-8d78-4c27434f5916%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Best Regards.

Maxwell Morais
Python Developer powered by Webnotes framework <3
+55 11 954329659




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/CABK1YkPS4JiVSrd-FqCUeA8yp5WdBuqftbPa3mvE8U7JP9B1Kg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.