Unable to Update "Type" Select Field in Lead Doctype via UI – Can I Edit via Code?

Hi everyone,

I’m working on the Lead doctype under the CRM module. There’s a field called “type” which is a Select field, but I’m not able to update its options using Customize Form in the UI – the changes just don’t reflect.

Is it safe to update this field directly via code?

what is the purpose of changing the field type

i want add some extra select items in that field

Use “Property Setter” directly. Search for it, and apply it to a “DocField” with doctype “Lead”, and fieldname “type”. You want to modify the “options” property of the field, so set that to the list you want.

Hello Sir, i have the same problem, but if i used Property Setter, if there is an update from ERPNext, what will happen ?

It will still work. ERPNext updates will not modify your property setter.