Hi all,
I have a field that is numeric (doctype select field with the values 0 = AC Connected, 1 = Solar Charging, 2 = No AC/Solar). I want to display this field in text similar to Frappe docstatus where 0=Draft, 1=Submitted, 2=Cancelled. What’s the easiest way to achieve this so that any display of this field is in text.
Any help is appreciated.